Skip to content

Commit 4507ac9

Browse files
committed
ci: enable crates.io trusted publishing
1 parent 095679e commit 4507ac9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/release-plz.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ jobs:
2121
with:
2222
fetch-depth: 0
2323

24+
- name: Authenticate with crates.io
25+
uses: rust-lang/crates-io-auth-action@v1
26+
id: auth
27+
2428
- name: Install Rust toolchain
2529
uses: dtolnay/rust-toolchain@f7ccc83f9ed1e5b9c81d8a67d7ad1a747e22a561
2630
with:
@@ -30,3 +34,4 @@ jobs:
3034
uses: MarcoIeni/release-plz-action@e592230ad39e3ec735402572601fc621aa24355c # v0.5.124
3135
env:
3236
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37+
CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }}

0 commit comments

Comments
 (0)