ci: Replace cargo-publish-all with cargo
This commit is contained in:
parent
b8313da2cc
commit
fcaf2592e6
|
@ -138,7 +138,7 @@ jobs:
|
||||||
# Publish all packages to Crates.io
|
# Publish all packages to Crates.io
|
||||||
cargo_publish:
|
cargo_publish:
|
||||||
if: startsWith(github.ref, 'refs/tags/v')
|
if: startsWith(github.ref, 'refs/tags/v')
|
||||||
name: Publish Cargo Packages
|
name: Publish Cargo Package
|
||||||
needs: [test, docker_test]
|
needs: [test, docker_test]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
@ -147,8 +147,8 @@ jobs:
|
||||||
with:
|
with:
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
override: true
|
override: true
|
||||||
- run: cargo install --force cargo-publish-all
|
- run: cargo login $CRATES_IO_TOKEN
|
||||||
- run: cargo-publish-all --token $CRATES_IO_TOKEN --yes
|
- run: cargo publish
|
||||||
env:
|
env:
|
||||||
CRATES_IO_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}
|
CRATES_IO_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue