fix: Pass cargo login token as an argument
This commit is contained in:
parent
37b5cf4414
commit
e53a823581
1 changed files with 2 additions and 1 deletions
3
.github/workflows/publish.yml
vendored
3
.github/workflows/publish.yml
vendored
|
@ -21,7 +21,8 @@ jobs:
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
toolchain: nightly
|
toolchain: nightly
|
||||||
command: login ${{ secrets.CRATES_TOKEN }}
|
command: login
|
||||||
|
arguments: ${{ secrets.CRATES_TOKEN }}
|
||||||
- name: Publish to crates.io
|
- name: Publish to crates.io
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue