mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-14 22:09:26 +00:00
Use curl in download retry helper (#1079)
This commit is contained in:
committed by
GitHub
parent
b41fda16c1
commit
53ac16e05d
@@ -16,8 +16,7 @@ download_with_retries() {
|
||||
i=20
|
||||
while [ $i -gt 0 ]; do
|
||||
((i--))
|
||||
wget $URL --output-document="$DEST/$NAME" \
|
||||
--no-verbose
|
||||
curl $URL -4 -s -o "$DEST/$NAME"
|
||||
if [ $? != 0 ]; then
|
||||
sleep 30
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user