We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9629cdc commit a4b76bdCopy full SHA for a4b76bd
.github/workflows/release-process.yml
@@ -166,6 +166,8 @@ jobs:
166
if: ${{ github.ref == 'refs/heads/start-release' }}
167
needs: merge-release
168
runs-on: ubuntu-24.04
169
+ permissions:
170
+ id-token: write
171
steps:
172
- name: Checkout
173
uses: actions/checkout@v4
@@ -175,7 +177,10 @@ jobs:
175
177
rustup toolchain install stable
176
178
rustup default stable
179
rustc --version
180
+ - name: Authenticate to Crates.io
181
+ id: crates-io-auth
182
+ uses: rust-lang/crates-io-auth-action@v1
183
- name: Publish
184
run: cargo publish
185
env:
- CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
186
+ CARGO_REGISTRY_TOKEN: ${{ steps.crates-io-auth.outputs.token }}
0 commit comments