Skip to content

Commit

Permalink
ci: fix cargo publish again (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
storopoli committed Sep 8, 2024
1 parent 931372d commit b276d5f
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 22 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,16 @@ jobs:
cratesio:
name: Publish Release to Crates.io
runs-on: ubuntu-latest
strategy:
matrix:
packages: ["dead-man-switch", "dead-man-switch-tui"]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
- name: Publish to Crates.io
run: cargo publish -p ${{ matrix.packages }}
- name: Publish to Crates.io - Library
run: cargo publish -p dead-man-switch
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
- name: Publish to Crates.io - TUI
run: cargo publish -p dead-man-switch-tui
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
12 changes: 6 additions & 6 deletions crates/dead-man-switch-tui/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[package]
name = "dead-man-switch-tui"
version.workspace = true
edition.workspace = true
authors.workspace = true
description.workspace = true
license.workspace = true
edition = "2021"
version = "0.4.0"
authors = ["Jose Storopoli <[email protected]>"]
description = "A simple no-BS Dead Man's Switch Tui Interface"
license = "AGPL-3.0-only"
readme = "../../README.md"

[dependencies]
dead-man-switch = { version = "0.4", path = "../dead-man-switch" }
dead-man-switch = { version = "0.4.0", path = "../dead-man-switch" }
thiserror = "1"
ratatui = "0.28"
crossterm = "0.28"
12 changes: 6 additions & 6 deletions crates/dead-man-switch-web/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[package]
name = "dead-man-switch-web"
version.workspace = true
edition.workspace = true
authors.workspace = true
description.workspace = true
license.workspace = true
edition = "2021"
version = "0.4.0"
authors = ["Jose Storopoli <[email protected]>"]
description = "A simple no-BS Dead Man's Switch Web Interface"
license = "AGPL-3.0-only"
readme = "../../README.md"

[dependencies]
dead-man-switch = { path = "../dead-man-switch" }
dead-man-switch = { version = "0.4.0", path = "../dead-man-switch" }
anyhow = "1.0.87"
askama = "0.12.1"
axum = "0.7.5"
Expand Down
10 changes: 5 additions & 5 deletions crates/dead-man-switch/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
name = "dead-man-switch"
version.workspace = true
edition.workspace = true
authors.workspace = true
description.workspace = true
license.workspace = true
edition = "2021"
version = "0.4.0"
authors = ["Jose Storopoli <[email protected]>"]
description = "A simple no-BS Dead Man's Switch"
license = "AGPL-3.0-only"
readme = "../../README.md"

[dependencies]
Expand Down

0 comments on commit b276d5f

Please sign in to comment.