Skip to content

Commit b0315d7

Browse files
rootclaude
andcommitted
fix(ci): install zig from the official tarball in build-musl
mlugg/setup-zig@v1 builds the mirror URL with the pre-0.15 os-arch name (zig-linux-x86_64-...) which 404s for 0.16.0 — official tarballs are now zig-x86_64-linux-.... Download + untar directly, one less action in the path. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent d78768b commit b0315d7

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,10 @@ jobs:
5959
- uses: dtolnay/rust-toolchain@stable
6060
with:
6161
targets: aarch64-unknown-linux-musl
62-
- uses: mlugg/setup-zig@v1
63-
with:
64-
version: 0.16.0
62+
- name: Install zig
63+
run: |
64+
curl -fsSL https://ziglang.org/download/0.16.0/zig-x86_64-linux-0.16.0.tar.xz | sudo tar -xJ -C /opt
65+
echo "/opt/zig-x86_64-linux-0.16.0" >> "$GITHUB_PATH"
6566
- uses: taiki-e/install-action@v2
6667
with:
6768
tool: cargo-zigbuild

0 commit comments

Comments
 (0)