Skip to content

Commit c73990c

Browse files
committed
Rename secret for crates.io token
1 parent 1279a11 commit c73990c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/publish.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
name: Publish
55
on: workflow_dispatch
66
env:
7-
CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }}
7+
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
88
jobs:
99
cargo-publish:
1010
runs-on: ubuntu-latest
@@ -16,6 +16,6 @@ jobs:
1616
with:
1717
toolchain: stable
1818
- name: Publish bindgen (lib)
19-
run: cargo publish --package bindgen --token ${CRATES_TOKEN}
19+
run: cargo publish --package bindgen --token ${CARGO_REGISTRY_TOKEN}
2020
- name: Publish bindgen-cli
21-
run: cargo publish --package bindgen-cli --token ${CRATES_TOKEN}
21+
run: cargo publish --package bindgen-cli --token ${CARGO_REGISTRY_TOKEN}

0 commit comments

Comments
 (0)