diff --git a/actions/setup/sh/install_awf_binary.sh b/actions/setup/sh/install_awf_binary.sh index f534a06255c..0f928c61370 100755 --- a/actions/setup/sh/install_awf_binary.sh +++ b/actions/setup/sh/install_awf_binary.sh @@ -68,7 +68,7 @@ trap 'rm -rf "$TEMP_DIR"' EXIT # Download checksums echo "Downloading checksums from ${CHECKSUMS_URL@Q}..." -curl -fsSL --retry 5 --retry-delay 10 --retry-max-time 180 -o "${TEMP_DIR}/checksums.txt" "${CHECKSUMS_URL}" +curl -fsSL --retry 10 --retry-delay 30 --retry-max-time 360 -o "${TEMP_DIR}/checksums.txt" "${CHECKSUMS_URL}" verify_checksum() { local file="$1" @@ -120,7 +120,7 @@ install_bundle() { echo "Node.js >= 20 detected ($(node --version)), using lightweight bundle..." echo "Downloading bundle from ${bundle_url@Q}..." - if ! curl -fsSL --retry 5 --retry-delay 10 --retry-max-time 180 -o "${TEMP_DIR}/${bundle_name}" "${bundle_url}"; then + if ! curl -fsSL --retry 10 --retry-delay 30 --retry-max-time 360 -o "${TEMP_DIR}/${bundle_name}" "${bundle_url}"; then echo "⚠ Bundle download failed (asset may not exist for this version)" return 1 fi @@ -159,7 +159,7 @@ install_linux_binary() { local binary_url="${BASE_URL}/${awf_binary}" echo "Downloading binary from ${binary_url@Q}..." - curl -fsSL --retry 5 --retry-delay 10 --retry-max-time 180 -o "${TEMP_DIR}/${awf_binary}" "${binary_url}" + curl -fsSL --retry 10 --retry-delay 30 --retry-max-time 360 -o "${TEMP_DIR}/${awf_binary}" "${binary_url}" # Verify checksum verify_checksum "${TEMP_DIR}/${awf_binary}" "${awf_binary}" @@ -184,7 +184,7 @@ install_darwin_binary() { local binary_url="${BASE_URL}/${awf_binary}" echo "Downloading binary from ${binary_url@Q}..." - curl -fsSL --retry 5 --retry-delay 10 --retry-max-time 180 -o "${TEMP_DIR}/${awf_binary}" "${binary_url}" + curl -fsSL --retry 10 --retry-delay 30 --retry-max-time 360 -o "${TEMP_DIR}/${awf_binary}" "${binary_url}" # Verify checksum verify_checksum "${TEMP_DIR}/${awf_binary}" "${awf_binary}"