Skip to content

Commit

Permalink
Publish to crates.io on tag.
Browse files Browse the repository at this point in the history
  • Loading branch information
dsvensson committed Feb 7, 2024
1 parent b46ade3 commit 195c1d2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,10 @@ jobs:

- uses: rust-lang/simpleinfra/github-actions/simple-ci@master
with:
check_fmt: true
check_fmt: true

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

0 comments on commit 195c1d2

Please sign in to comment.