Skip to content

Commit 78e0ee2

Browse files
committed
Workflow: fix publish to crates code
1 parent 457b581 commit 78e0ee2

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,11 @@ jobs:
3636
publish:
3737
runs-on: ubuntu-latest
3838
steps:
39-
- name: Install Rust
40-
run: rustup install stable && rustup default stable
41-
39+
- uses: actions/checkout@v4
40+
- uses: actions-rs/toolchain@v1
41+
with:
42+
toolchain: stable
43+
override: true
4244
- uses: katyo/publish-crates@v2
4345
with:
4446
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}

0 commit comments

Comments
 (0)