1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-05-29 06:30:52 +00:00

ci: Replace cargo-publish-all with cargo

This commit is contained in:
Matan Kushner 2019-10-04 23:22:14 +09:00
parent b8313da2cc
commit fcaf2592e6
No known key found for this signature in database
GPG Key ID: 4B98C3A8949CA8A4

View File

@ -138,7 +138,7 @@ jobs:
# Publish all packages to Crates.io
cargo_publish:
if: startsWith(github.ref, 'refs/tags/v')
name: Publish Cargo Packages
name: Publish Cargo Package
needs: [test, docker_test]
runs-on: ubuntu-latest
steps:
@ -147,8 +147,8 @@ jobs:
with:
toolchain: stable
override: true
- run: cargo install --force cargo-publish-all
- run: cargo-publish-all --token $CRATES_IO_TOKEN --yes
- run: cargo login $CRATES_IO_TOKEN
- run: cargo publish
env:
CRATES_IO_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}