Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
kingsleyh committed Dec 5, 2024
1 parent 5b733d7 commit bae69f2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ jobs:
needs: build-test
runs-on: ubuntu-latest
environment: crates.io
permissions:
contents: write # This is required for creating releases
issues: write # Optional: allows release notes to reference issues
pull-requests: write # Optional: allows release notes to reference PRs

steps:
- uses: actions/checkout@v4
Expand All @@ -58,8 +62,6 @@ jobs:
with:
name: Release ${{ steps.get_version.outputs.VERSION }}
generate_release_notes: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Publish to crates.io
run: cargo publish --locked --verbose --token ${{ secrets.CARGO_REGISTRY_TOKEN }}

0 comments on commit bae69f2

Please sign in to comment.