mirror of
https://github.com/actions/runner-images.git
synced 2025-12-17 23:28:57 +00:00
Use variable instead of hard coded value (#7213)
This commit is contained in:
@@ -33,7 +33,7 @@ download_with_retries() {
|
|||||||
return 0
|
return 0
|
||||||
else
|
else
|
||||||
echo "Error — Either HTTP response code for '$URL' is wrong - '$http_code' or exit code is not 0 - '$exit_code'. Waiting $interval seconds before the next attempt, $retries attempts left"
|
echo "Error — Either HTTP response code for '$URL' is wrong - '$http_code' or exit code is not 0 - '$exit_code'. Waiting $interval seconds before the next attempt, $retries attempts left"
|
||||||
sleep 30
|
sleep $interval
|
||||||
fi
|
fi
|
||||||
# Enable exit on error back
|
# Enable exit on error back
|
||||||
set -e
|
set -e
|
||||||
|
|||||||
Reference in New Issue
Block a user