mirror of
https://github.com/actions/runner-images.git
synced 2025-12-20 06:35:47 +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
|
i=20
|
||||||
while [ $i -gt 0 ]; do
|
while [ $i -gt 0 ]; do
|
||||||
((i--))
|
((i--))
|
||||||
wget $URL --output-document="$DEST/$NAME" \
|
curl $URL -4 -s -o "$DEST/$NAME"
|
||||||
--no-verbose
|
|
||||||
if [ $? != 0 ]; then
|
if [ $? != 0 ]; then
|
||||||
sleep 30
|
sleep 30
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user