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

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')