Skip to content

Commit

Permalink
Add publish to workflow
Browse files Browse the repository at this point in the history
Rigidity committed Jan 17, 2024

Verified

This commit was signed with the committer’s verified signature.
Rigidity Rigidity
1 parent eff7487 commit 6641e5e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -21,3 +21,9 @@ jobs:

- name: Fmt
run: cargo fmt -- --files-with-diff --check

- name: Publish
if: startsWith(github.event.ref, 'refs/tags')
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.cargo_registry_token }}
run: cargo publish

0 comments on commit 6641e5e

Please sign in to comment.