ci: Add the Crates.io token secret for publishing
This commit is contained in:
parent
1fb0cb12eb
commit
1d701729cf
|
@ -149,6 +149,8 @@ jobs:
|
||||||
override: true
|
override: true
|
||||||
- run: cargo install --force cargo-publish-all
|
- run: cargo install --force cargo-publish-all
|
||||||
- run: cargo-publish-all --token $CRATES_IO_TOKEN --yes
|
- run: cargo-publish-all --token $CRATES_IO_TOKEN --yes
|
||||||
|
env:
|
||||||
|
CRATES_IO_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}
|
||||||
|
|
||||||
github_release:
|
github_release:
|
||||||
if: startsWith(github.ref, 'refs/tags/v')
|
if: startsWith(github.ref, 'refs/tags/v')
|
||||||
|
|
Loading…
Reference in New Issue