mirror of
https://github.com/Llewellynvdm/starship.git
synced 2025-04-07 01:31:50 +00:00
ci: Add the Crates.io token secret for publishing
This commit is contained in:
parent
1fb0cb12eb
commit
1d701729cf
2
.github/workflows/workflow.yml
vendored
2
.github/workflows/workflow.yml
vendored
@ -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…
x
Reference in New Issue
Block a user