ci: Add the Crates.io token secret for publishing

This commit is contained in:
Matan Kushner 2019-10-04 18:47:29 +09:00
parent 1fb0cb12eb
commit 1d701729cf
No known key found for this signature in database
GPG Key ID: 4B98C3A8949CA8A4
1 changed files with 2 additions and 0 deletions

View File

@ -149,6 +149,8 @@ jobs:
override: true
- run: cargo install --force cargo-publish-all
- run: cargo-publish-all --token $CRATES_IO_TOKEN --yes
env:
CRATES_IO_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}
github_release:
if: startsWith(github.ref, 'refs/tags/v')