mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
Windows CI: pin 7-Zip Extra URL to 23.01 (only version still hosted)
The 24.x extra archives have been pruned from the live 7-zip.org CDN — verified by curl HEAD over 2401/2403/2405/2406/2407/2408/2409, all return 404. Only 7z2301-extra.7z (Jan 2023) is still served with 200. That version's installer-mode SFX modules (7zS.sfx, 7zSD.sfx) are backwards-compatible with any modern Windows so pinning here is fine.
This commit is contained in:
@@ -341,7 +341,10 @@ jobs:
|
||||
EXTRA_DIR="$RUNNER_TEMP/7z-extra"
|
||||
if [[ ! -f "$EXTRA_DIR/7zSD.sfx" && ! -f "$EXTRA_DIR/7zS.sfx" ]]; then
|
||||
mkdir -p "$EXTRA_DIR"
|
||||
curl -fsSL -o "$EXTRA_DIR/7z-extra.7z" "https://www.7-zip.org/a/7z2409-extra.7z"
|
||||
# 7z2301 is the most recent "Extra" archive still hosted on the
|
||||
# live 7-zip.org CDN — newer versions (24.x) have been pruned
|
||||
# from the public URL. Pinned to a stable known-good version.
|
||||
curl -fsSL -o "$EXTRA_DIR/7z-extra.7z" "https://www.7-zip.org/a/7z2301-extra.7z"
|
||||
"$SEVENZ_DIR/7z.exe" x "$EXTRA_DIR/7z-extra.7z" -o"$EXTRA_DIR" -y | tail -3
|
||||
rm "$EXTRA_DIR/7z-extra.7z"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user