Skip to content

Commit 2d235c5

Browse files
mikeeeCopilot
andauthored
chore(ci): use cargo_registry_token for publishing (#309)
* chore(ci): set cargo_registry_token Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Mike Nguyen <hey@mike.ee> --------- Signed-off-by: Mike Nguyen <hey@mike.ee> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent cdc82c4 commit 2d235c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,5 +155,5 @@ jobs:
155155
- uses: actions/checkout@v4
156156
- name: cargo publish - ${{ matrix.crate }}
157157
env:
158-
CARGO_TOKEN: ${{ secrets.CARGO_TOKEN }}
159-
run: cargo publish --manifest-path ${{ matrix.crate }}/Cargo.toml --token ${{ env.CARGO_TOKEN }}
158+
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_TOKEN }}
159+
run: cargo publish --manifest-path ${{ matrix.crate }}/Cargo.toml

0 commit comments

Comments
 (0)