From 9da9ba2f5412b63b9da5c6012c1a37107efca6f1 Mon Sep 17 00:00:00 2001 From: Veetaha Date: Sat, 12 Jul 2025 15:52:43 +0000 Subject: [PATCH] Migrate to OIDC for publishing to crates.io --- .github/workflows/release.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e9c876f9..b7e548c7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,10 +26,13 @@ jobs: - uses: actions-rust-lang/setup-rust-toolchain@v1 + - uses: rust-lang/crates-io-auth-action@v1 + id: auth + - uses: MarcoIeni/release-plz-action@v0.5 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} + CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }} deploy-website: needs: release-rust-crates