fix: Pass cargo login token as an argument

This commit is contained in:
Rostislav Raykov 2019-09-18 01:49:39 +02:00
parent 37b5cf4414
commit e53a823581

View file

@ -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: