File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 1414 # Create a PR with the new versions and changelog, preparing the next release.
1515 open-pr :
1616 name : Open release PR
17- runs-on : ubuntu-latest
1817 environment : cratesio-publish
19-
18+ runs-on : ubuntu-latest
2019 concurrency :
2120 group : release-plz-${{ github.ref }}
2221 cancel-in-progress : false
@@ -39,17 +38,23 @@ jobs:
3938 # Release unpublished packages.
4039 release :
4140 name : Release crates
42- runs-on : ubuntu-latest
4341 environment : cratesio-publish
42+ runs-on : ubuntu-latest
43+ permissions :
44+ id-token : write
4445
4546 steps :
4647 - name : Checkout repository
4748 uses : actions/checkout@v4
4849 with :
4950 fetch-depth : 512
5051
52+ - name : Authenticate with crates.io
53+ id : auth
54+ uses : rust-lang/crates-io-auth-action@v1
55+
5156 - name : Run release-plz
5257 uses : Devolutions/actions-public/release-plz@v1
5358 with :
5459 command : release
55- registry-token : ${{ secrets.CRATES_IO_TOKEN }}
60+ registry-token : ${{ steps.auth.outputs.token }}
You can’t perform that action at this time.
0 commit comments