fix(ci): decompress release manifest download
CI / Test and build (push) Canceled after 0s

This commit is contained in:
go0p
2026-09-03 13:37:42 +08:00
parent dfdedb1591
commit 0a349a7928
+1 -1
View File
@@ -66,7 +66,7 @@ jobs:
set -euo pipefail
# Query parameter busts the CDN's 5-minute manifest cache.
url="${PUBLIC_BASE_URL}/manifest.json?mirror_build=${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}"
code=$(curl -sS -o dist/existing-manifest.json -w '%{http_code}' --retry 4 --retry-all-errors "$url")
code=$(curl --compressed -sS -o dist/existing-manifest.json -w '%{http_code}' --retry 4 --retry-all-errors "$url")
if [ "$code" = "200" ]; then
echo "Existing manifest fetched."
elif [ "$code" = "404" ]; then