Skip to content

Commit

Permalink
also publish on cargo when releasing
Browse files Browse the repository at this point in the history
  • Loading branch information
digizeph committed Feb 3, 2024
1 parent b516b2d commit 2849764
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,18 @@ jobs:
changelog: CHANGELOG.md
token: ${{ secrets.GITHUB_TOKEN }}

cargo-publish:
needs: create-release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Publish to crates.io
run: >
cargo publish
--all-features
--verbose
--token ${{ secrets.CARGO_REGISTRY_TOKEN }}
upload-assets:
needs: create-release
strategy:
Expand Down

0 comments on commit 2849764

Please sign in to comment.