Skip to content

Commit

Permalink
Crate Publish Workflow (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
harrysolovay authored Oct 3, 2024
1 parent 8d19c46 commit 9926781
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Publish
on:
release:
types: [created]
jobs:
publish:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
- uses: dsherret/rust-toolchain-file@v1
- run: cargo install cargo-edit
- run: |
VERSION=${GITHUB_REF_NAME#?}
cargo set-version $VERSION
- uses: katyo/publish-crates@v2

Check warning on line 16 in .github/workflows/publish.yaml

View workflow job for this annotation

GitHub Actions / cspell

Unknown word (katyo)
with:
registry-token: ${{ secrets.CRATES_IO_TOKEN }}
args: --allow-dirty
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mina_mesh"
version = "0.1.0"
version = "0.0.0"
authors = ["Mina Foundation"]
edition = "2021"
license = "Apache-2.0"
Expand Down

0 comments on commit 9926781

Please sign in to comment.