fix(ci): do not pipe tar when extracting zig

This commit is contained in:
lily 2025-04-20 15:24:14 -04:00
parent 61518697ac
commit 24410b054d
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 601F3263FBCBC4B9

View file

@ -34,7 +34,9 @@ jobs:
if: steps.cache-tools.outputs.cache-hit != 'true'
run: |
mkdir -p /tmp/zig
curl -L https://ziglang.org/builds/zig-linux-x86_64-0.11.0.tar.xz | tar -xJ -C /tmp/zig --strip-components=1
cd /tmp/zig
curl -Lo zig-linux-x86_64-0.11.0.tar.xz https://ziglang.org/builds/zig-linux-x86_64-0.11.0.tar.xz
tar -xJ zig-linux-x86_64-0.11.0.tar.xz -C /tmp/zig --strip-components=1
curl -L https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
cargo binstall -y cargo-zigbuild