From c73990cc0f714ce79e444039f09eaf1f769d7e6a Mon Sep 17 00:00:00 2001 From: Christian Poveda Date: Wed, 1 Nov 2023 12:55:44 -0500 Subject: [PATCH] Rename secret for crates.io token --- .github/workflows/publish.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 5aa52860f4..f79ce1036b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -4,7 +4,7 @@ name: Publish on: workflow_dispatch env: - CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }} + CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} jobs: cargo-publish: runs-on: ubuntu-latest @@ -16,6 +16,6 @@ jobs: with: toolchain: stable - name: Publish bindgen (lib) - run: cargo publish --package bindgen --token ${CRATES_TOKEN} + run: cargo publish --package bindgen --token ${CARGO_REGISTRY_TOKEN} - name: Publish bindgen-cli - run: cargo publish --package bindgen-cli --token ${CRATES_TOKEN} + run: cargo publish --package bindgen-cli --token ${CARGO_REGISTRY_TOKEN}