Skip to content

Commit 96054be

Browse files
authored
ci(crates): migrate picky-rs to trusted publishing (#441)
- picky - https://crates.io/crates/picky - picky-asn1 - https://crates.io/crates/picky-asn1 - picky-asn1-der - https://crates.io/crates/picky-asn1-der - picky-asn1-x509 - https://crates.io/crates/picky-asn1-x509 - picky-krb - https://crates.io/crates/picky-krb
1 parent 46967ab commit 96054be

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/release-crates.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,15 +68,20 @@ jobs:
6868
runs-on: ubuntu-latest
6969
permissions:
7070
contents: write
71+
id-token: write
7172

7273
steps:
7374
- name: Checkout repository
7475
uses: actions/checkout@v4
7576
with:
7677
fetch-depth: 512
7778

79+
- name: Authenticate with crates.io
80+
id: auth
81+
uses: rust-lang/crates-io-auth-action@v1
82+
7883
- name: Run release-plz
7984
uses: Devolutions/actions-public/release-plz@v1
8085
with:
8186
command: release
82-
registry-token: ${{ secrets.CRATES_IO_TOKEN }}
87+
registry-token: ${{ steps.auth.outputs.token }}

0 commit comments

Comments
 (0)