Skip to content

Commit b97039d

Browse files
committed
CI: Pin download to exact 0.16.0 release with fixed output filename
1 parent cbe40da commit b97039d

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,9 @@ jobs:
2020

2121
- name: Install Zig 0.16.0 (Official Nightly)
2222
run: |
23-
URL=$(curl -s https://ziglang.org/download/index.json | jq -r '.["0.16.0"]."x86_64-linux".tarball // .master."x86_64-linux".tarball')
24-
curl -LO "$URL"
25-
tar -xf zig-linux-x86_64-*.tar.xz --strip-components=1
26-
echo "$GITHUB_WORKSPACE" >> $GITHUB_PATH
23+
URL=$(curl -s https://ziglang.org/download/index.json | jq -r '.["0.16.0"]."x86_64-linux".tarball')
24+
curl -L "$URL" -o zig.tar.xz
25+
tar -xf zig.tar.xz --strip-components=1
2726
shell: bash
2827
- name: Cross-Compile Binaries
2928
run: |

0 commit comments

Comments
 (0)