Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
permissions:
pull-requests: write
contents: write
id-token: write # Required for OIDC token exchange
concurrency:
group: publish
cancel-in-progress: true
Expand All @@ -23,14 +24,18 @@ jobs:
- name: "Install parse-changelog"
uses: taiki-e/install-action@parse-changelog

- name: "Authenticate with crates.io"
id: auth
uses: rust-lang/crates-io-auth-action@v1

- name: "Run release-plz"
id: release-plz
uses: release-plz/action@8724d33cd97b8295051102e2e19ca592962238f5 # v0.5.108
with:
command: release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }}

- name: "Generate Github release body"
env:
Expand Down