ci: Update release crate CI.
This commit is contained in:
parent
0d167f61e5
commit
7f956e0f55
1 changed files with 4 additions and 6 deletions
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
|
|
@ -9,9 +9,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions-rs/cargo@v1
|
||||
if: startsWith(github.ref, 'refs/tags/v')
|
||||
name: Release Crate
|
||||
with:
|
||||
command: publish
|
||||
args: --workspace --token ${{ secrets.CARGO_REGISTRY_TOKEN }}
|
||||
- uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||
- name: Release Crate
|
||||
run: |
|
||||
cargo publish --workspace --token ${{ secrets.CARGO_REGISTRY_TOKEN }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue