Skip to content

Commit 94756c1

Browse files
committed
Resolve issues in release workflow
1 parent 026e7bc commit 94756c1

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,21 @@ jobs:
5252
uses: hecrj/setup-rust-action@v1
5353
with:
5454
rust-version: ${{ matrix.rust }}
55-
- name: Install cargo-binstall
55+
- name: Install cargo-binstall (Windows)
56+
if: runner.os == 'Windows'
57+
run: |
58+
cargo install cargo-binstall --locked
59+
- name: Install cargo-binstall (Unix)
60+
if: runner.os != 'Windows'
5661
uses: cargo-bins/cargo-binstall@v1.9.0
5762
- name: set sccache env var
5863
run: |
5964
echo "SCCACHE_GHA_ENABLED=true" >> $GITHUB_ENV
6065
echo "RUSTC_WRAPPER=sccache" >> $GITHUB_ENV
6166
- name: Run sccache-cache
6267
uses: mozilla-actions/sccache-action@v0.0.9
68+
with:
69+
version: "v0.12.0"
6370
- name: cargo binstall nj-cli
6471
run: cargo binstall nj-cli
6572
- name: install wasm-pack

0 commit comments

Comments
 (0)