Skip to content

Commit

Permalink
Update cargo publish step.
Browse files Browse the repository at this point in the history
  • Loading branch information
dsvensson committed Feb 7, 2024
1 parent 195c1d2 commit 36e6bed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
check_fmt: true

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

0 comments on commit 36e6bed

Please sign in to comment.