Skip to content

Commit

Permalink
Rename secret for crates.io token
Browse files Browse the repository at this point in the history
  • Loading branch information
pvdrz committed Nov 1, 2023
1 parent 1279a11 commit c73990c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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}

0 comments on commit c73990c

Please sign in to comment.