mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-15 22:36:46 +00:00
Fix retry download helper for PyPy (#1092)
This commit is contained in:
committed by
GitHub
parent
7e20013bcb
commit
e9e1f92089
@@ -16,7 +16,7 @@ download_with_retries() {
|
|||||||
i=20
|
i=20
|
||||||
while [ $i -gt 0 ]; do
|
while [ $i -gt 0 ]; do
|
||||||
((i--))
|
((i--))
|
||||||
curl $URL -4 -s -o "$DEST/$NAME"
|
curl $URL -4 -s -compressed -o "$DEST/$NAME"
|
||||||
if [ $? != 0 ]; then
|
if [ $? != 0 ]; then
|
||||||
sleep 30
|
sleep 30
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user