Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crate Publish Workflow #34

Merged
merged 1 commit into from
Oct 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading