Skip to content

Commit

Permalink
Update rust workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicoretti committed Apr 19, 2024
1 parent e972046 commit d737b0d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,14 @@ jobs:
command: test
args: --target ${{ matrix.os }} --verbose

- name: "Publish to crates.io"
if: matrix.os == 'x86_64' && startsWith(github.ref, 'refs/tags/')
uses: actions-rs/cargo@v1
with:
command: publish
args: --token ${{ secrets.CRATES_IO }}


clippy_check:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit d737b0d

Please sign in to comment.