Skip to content

Commit 70b413c

Browse files
committed
ci: Update release crate CI.
1 parent aa71692 commit 70b413c

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v4
12-
- uses: actions-rs/cargo@v1
13-
if: startsWith(github.ref, 'refs/tags/v')
14-
name: Release Crate
15-
with:
16-
command: publish
17-
args: --workspace --token ${{ secrets.CARGO_REGISTRY_TOKEN }}
12+
- uses: actions-rust-lang/setup-rust-toolchain@v1
13+
- name: Release Crate
14+
run: |
15+
cargo publish --workspace --token ${{ secrets.CARGO_REGISTRY_TOKEN }}

0 commit comments

Comments
 (0)