From a00b4cfa5e50bdaf13f2bbb875471d8da2393c8f Mon Sep 17 00:00:00 2001 From: LetItBe12345 Date: Sun, 26 Jul 2026 19:42:16 +0800 Subject: [PATCH] fix: use curl in GPU acceptance gate --- .github/workflows/release.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 186bc19..2f52350 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -50,7 +50,15 @@ jobs: cache: pnpm cache-dependency-path: pnpm-lock.yaml - name: Install, verify Runtime and build - run: pnpm install --frozen-lockfile && pnpm runtime:download && pnpm check && pnpm build + run: | + set -euo pipefail + pnpm install --frozen-lockfile + runtime_url="$(node -p "JSON.parse(require('fs').readFileSync('runtime/manifest.json', 'utf8')).url")" + curl --fail --location --retry 3 --retry-delay 2 "$runtime_url" -o runtime/omp + chmod 0755 runtime/omp + pnpm runtime:check + pnpm check + pnpm build - name: Run hardware GPU smoke shell: bash run: |