Skip to content

Commit 8721dcb

Browse files
committed
Use full path just for fun
1 parent 01f8fde commit 8721dcb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/build.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ jobs:
153153
if: matrix.build == 'zigbuild'
154154
run: |
155155
uv tool install cargo-zigbuild==0.20.1 --with-executables-from ziglang==0.15.1
156-
echo "CARGO_ZIGBUILD_ZIG_PATH=python-zig" >> $GITHUB_ENV
156+
echo "CARGO_ZIGBUILD_ZIG_PATH=\"$(uv tool dir)\"/cargo-zigbuild/bin/python-zig" >> $GITHUB_ENV
157157
- name: Setup Rust toolchain
158158
uses: dtolnay/rust-toolchain@stable
159159
with:
@@ -219,7 +219,9 @@ jobs:
219219
uses: astral-sh/setup-uv@v6
220220
- name: Install cargo-zigbuild
221221
if: matrix.build == 'zigbuild'
222-
run: uv tool install cargo-zigbuild==0.20.1 --with ziglang==0.15.1
222+
run: |
223+
uv tool install cargo-zigbuild==0.20.1 --with-executables-from ziglang==0.15.1
224+
echo "CARGO_ZIGBUILD_ZIG_PATH=\"$(uv tool dir)\"/cargo-zigbuild/bin/python-zig" >> $GITHUB_ENV
223225
- name: Setup Rust toolchain
224226
uses: dtolnay/rust-toolchain@stable
225227
with:

0 commit comments

Comments
 (0)