File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -19,17 +19,20 @@ jobs:
1919
2020 - name : Install Zig 0.15.2
2121 run : |
22- curl -L "https://ziglang.org/download/0.15.2/zig-x86_64-linux-0.15.2.tar.xz" -o zig.tar.xz
22+ curl -fL "https://ziglang.org/download/0.15.2/zig-x86_64-linux-0.15.2.tar.xz" -o zig.tar.xz
2323 tar -xf zig.tar.xz
24- echo "$PWD/zig-x86_64-linux-0.15.2" >> "$GITHUB_PATH"
25- zig version
24+ ZIG_DIR="$PWD/zig-x86_64-linux-0.15.2"
25+ echo "$ZIG_DIR" >> "$GITHUB_PATH"
26+ "$ZIG_DIR/zig" version
2627
2728 - name : Install Cosmocc 4.0.2
2829 run : |
29- curl -L "https://cosmo.zip/pub/cosmocc/cosmocc-4.0.2.zip" -o cosmocc.zip
30+ curl -fL "https://cosmo.zip/pub/cosmocc/cosmocc-4.0.2.zip" -o cosmocc.zip
3031 unzip -q cosmocc.zip
31- echo "$PWD/cosmocc/bin" >> "$GITHUB_PATH"
32- cosmocc --version || true
32+ COSMO_DIR="$(find "$PWD" -maxdepth 1 -type d -name 'cosmocc-*' | head -n 1)"
33+ test -n "$COSMO_DIR"
34+ echo "$COSMO_DIR/bin" >> "$GITHUB_PATH"
35+ "$COSMO_DIR/bin/cosmocc" --version
3336
3437 - name : Build matrix binaries (including cosmo)
3538 run : zig build matrix -Doptimize=ReleaseFast
You can’t perform that action at this time.
0 commit comments