Skip to content

Commit

Permalink
Add publish job
Browse files Browse the repository at this point in the history
  • Loading branch information
kennethloeffler committed Apr 17, 2024
1 parent 4b3470d commit c7a8a26
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,3 +133,19 @@ jobs:
with:
path: ${{ env.ARTIFACT_NAME }}
name: ${{ env.ARTIFACT_NAME }}

publish:
name: Publish to crates.io
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true

- name: Install Rust
uses: dtolnay/rust-toolchain@stable

- name: Run publish action
uses: katyo/publish-crates@v2
with:
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}

0 comments on commit c7a8a26

Please sign in to comment.