From b77c52944c4c1551bc284f872832f22af95d150d Mon Sep 17 00:00:00 2001 From: Zelda Hessler Date: Thu, 22 Feb 2024 14:44:52 -0600 Subject: [PATCH] Update release.yml (#3437) See https://github.com/smithy-lang/smithy-rs/pull/3436 ---- _By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice._ --- .github/workflows/claim-crate-names.yml | 3 +-- .github/workflows/release.yml | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/claim-crate-names.yml b/.github/workflows/claim-crate-names.yml index f558cf0e2..875b8a5cc 100644 --- a/.github/workflows/claim-crate-names.yml +++ b/.github/workflows/claim-crate-names.yml @@ -69,9 +69,8 @@ jobs: - name: Publish to crates.io shell: bash env: - RELEASE_AUTOMATION_BOT_CRATESIO_TOKEN: ${{ secrets.RELEASE_AUTOMATION_BOT_CRATESIO_TOKEN }} + CARGO_REGISTRY_TOKEN: ${{ secrets.RELEASE_AUTOMATION_BOT_CRATESIO_TOKEN }} run: | - cargo login -- "${RELEASE_AUTOMATION_BOT_CRATESIO_TOKEN}" cargo install --path tools/ci-build/publisher # Verify the publisher tool installed successfully publisher --version diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2be279075..dc1b98ae2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -291,9 +291,8 @@ jobs: shell: bash working-directory: smithy-rs-release/crates-to-publish env: - RELEASE_AUTOMATION_BOT_CRATESIO_TOKEN: ${{ secrets.RELEASE_AUTOMATION_BOT_CRATESIO_TOKEN }} + CARGO_REGISTRY_TOKEN: ${{ secrets.RELEASE_AUTOMATION_BOT_CRATESIO_TOKEN }} run: | - cargo login -- "${RELEASE_AUTOMATION_BOT_CRATESIO_TOKEN}" cargo install --path "$(realpath ../smithy-rs/tools/ci-build/publisher)" # Verify the publisher tool installed successfully publisher --version -- GitLab