Skip to content

Commit c7e3721

Browse files
committed
use cargo binstall to install zigbuild and xwin
1 parent 99962ec commit c7e3721

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/release-node-bindings.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ jobs:
4949
name: Build - ${{ matrix.settings.target }}
5050
runs-on: ${{ matrix.settings.host }}
5151
steps:
52+
- uses: cargo-bins/cargo-binstall@main
5253
- uses: actions/checkout@v4
5354
with:
5455
ref: ${{ inputs.ref }}
@@ -74,10 +75,10 @@ jobs:
7475
version: 0.13.0
7576
- name: Install cargo-zigbuild (Linux only)
7677
if: runner.os == 'Linux'
77-
run: cargo install cargo-zigbuild
78+
run: cargo binstall cargo-zigbuild
7879
- name: Install cargo-xwin (Windows on Linux only)
7980
if: runner.os == 'Linux' && contains(matrix.settings.target, 'windows')
80-
run: cargo install cargo-xwin
81+
run: cargo binstall cargo-xwin
8182
- name: Build (macOS)
8283
if: runner.os == 'macOS'
8384
run: |

0 commit comments

Comments
 (0)