Skip to content

Commit 10f7638

Browse files
authored
use release-plz trusted publishing implementation (#1556)
1 parent 236b4f8 commit 10f7638

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,9 @@ jobs:
2222
fetch-depth: 0
2323
- name: Install Rust toolchain
2424
uses: dtolnay/rust-toolchain@stable
25-
- uses: rust-lang/crates-io-auth-action@v1
26-
id: auth
2725
- name: Run release-plz
28-
uses: MarcoIeni/release-plz-[email protected]
26+
uses: release-plz/[email protected]
2927
with:
3028
command: release
3129
env:
3230
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33-
CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }}

.github/workflows/release-pr.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,8 @@ jobs:
2424
- name: Install Rust toolchain
2525
uses: dtolnay/rust-toolchain@stable
2626
- name: Run release-plz
27-
uses: MarcoIeni/release-plz-[email protected]
27+
uses: release-plz/[email protected]
2828
with:
2929
command: release-pr
3030
env:
3131
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32-
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

0 commit comments

Comments
 (0)