fix(ci): correct Zig download URLs to ziglang.org format
Some checks failed
CI with Native Libraries / Build and Test Native Libraries (push) Blocked by required conditions
CI with Native Libraries / Build Release Libraries (push) Blocked by required conditions
Documentation / build-and-publish (push) Waiting to run
Security Scan / Security Analysis (push) Waiting to run
Security Scan / Native Library Security (push) Waiting to run
Checkout test / test (push) Successful in 5s
CI with Native Libraries / Check Build Environment (push) Successful in 18s
CI/CD Pipeline / Test (push) Failing after 1m9s
CI/CD Pipeline / Dev Compose Smoke Test (push) Has been skipped
CI/CD Pipeline / Build (push) Has been skipped
CI/CD Pipeline / Test Scripts (push) Has been skipped
CI/CD Pipeline / Security Scan (push) Has been cancelled
CI/CD Pipeline / Docker Build (push) Has been cancelled
Some checks failed
CI with Native Libraries / Build and Test Native Libraries (push) Blocked by required conditions
CI with Native Libraries / Build Release Libraries (push) Blocked by required conditions
Documentation / build-and-publish (push) Waiting to run
Security Scan / Security Analysis (push) Waiting to run
Security Scan / Native Library Security (push) Waiting to run
Checkout test / test (push) Successful in 5s
CI with Native Libraries / Check Build Environment (push) Successful in 18s
CI/CD Pipeline / Test (push) Failing after 1m9s
CI/CD Pipeline / Dev Compose Smoke Test (push) Has been skipped
CI/CD Pipeline / Build (push) Has been skipped
CI/CD Pipeline / Test Scripts (push) Has been skipped
CI/CD Pipeline / Security Scan (push) Has been cancelled
CI/CD Pipeline / Docker Build (push) Has been cancelled
Change from incorrect GitHub releases URL to official ziglang.org URL
Format: ziglang.org/download/{VERSION}/zig-{ARCH}-{OS}-{VERSION}.tar.xz
This commit is contained in:
parent
f9e80f8bdf
commit
5f2fc66200
1 changed files with 4 additions and 4 deletions
|
|
@ -69,12 +69,12 @@ jobs:
|
|||
echo "Installing Zig ${ZIG_VERSION}..."
|
||||
ZIG_DIR="/usr/local/zig-${ZIG_VERSION}"
|
||||
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
|
||||
curl -fsSL --retry 3 "https://github.com/ziglang/zig/releases/download/${ZIG_VERSION}/zig-linux-x86_64-${ZIG_VERSION}.tar.xz" -o /tmp/zig.tar.xz
|
||||
curl -fsSL --retry 3 "https://ziglang.org/download/${ZIG_VERSION}/zig-x86_64-linux-${ZIG_VERSION}.tar.xz" -o /tmp/zig.tar.xz
|
||||
sudo mkdir -p "${ZIG_DIR}"
|
||||
sudo tar -C "${ZIG_DIR}" --strip-components=1 -xJf /tmp/zig.tar.xz
|
||||
sudo ln -sf "${ZIG_DIR}/zig" /usr/local/bin/zig
|
||||
elif [[ "$OSTYPE" == "darwin"* ]]; then
|
||||
curl -fsSL --retry 3 "https://github.com/ziglang/zig/releases/download/${ZIG_VERSION}/zig-macos-x86_64-${ZIG_VERSION}.tar.xz" -o /tmp/zig.tar.xz
|
||||
curl -fsSL --retry 3 "https://ziglang.org/download/${ZIG_VERSION}/zig-x86_64-macos-${ZIG_VERSION}.tar.xz" -o /tmp/zig.tar.xz
|
||||
sudo mkdir -p "${ZIG_DIR}"
|
||||
sudo tar -C "${ZIG_DIR}" --strip-components=1 -xJf /tmp/zig.tar.xz
|
||||
sudo ln -sf "${ZIG_DIR}/zig" /usr/local/bin/zig
|
||||
|
|
@ -158,12 +158,12 @@ jobs:
|
|||
echo "Installing Zig ${ZIG_VERSION}..."
|
||||
ZIG_DIR="/usr/local/zig-${ZIG_VERSION}"
|
||||
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
|
||||
curl -fsSL --retry 3 "https://github.com/ziglang/zig/releases/download/${ZIG_VERSION}/zig-linux-x86_64-${ZIG_VERSION}.tar.xz" -o /tmp/zig.tar.xz
|
||||
curl -fsSL --retry 3 "https://ziglang.org/download/${ZIG_VERSION}/zig-x86_64-linux-${ZIG_VERSION}.tar.xz" -o /tmp/zig.tar.xz
|
||||
sudo mkdir -p "${ZIG_DIR}"
|
||||
sudo tar -C "${ZIG_DIR}" --strip-components=1 -xJf /tmp/zig.tar.xz
|
||||
sudo ln -sf "${ZIG_DIR}/zig" /usr/local/bin/zig
|
||||
elif [[ "$OSTYPE" == "darwin"* ]]; then
|
||||
curl -fsSL --retry 3 "https://github.com/ziglang/zig/releases/download/${ZIG_VERSION}/zig-macos-x86_64-${ZIG_VERSION}.tar.xz" -o /tmp/zig.tar.xz
|
||||
curl -fsSL --retry 3 "https://ziglang.org/download/${ZIG_VERSION}/zig-x86_64-macos-${ZIG_VERSION}.tar.xz" -o /tmp/zig.tar.xz
|
||||
sudo mkdir -p "${ZIG_DIR}"
|
||||
sudo tar -C "${ZIG_DIR}" --strip-components=1 -xJf /tmp/zig.tar.xz
|
||||
sudo ln -sf "${ZIG_DIR}/zig" /usr/local/bin/zig
|
||||
|
|
|
|||
Loading…
Reference in a new issue