mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 22:05:17 +00:00
Use variable instead of hard coded value (#7213)
This commit is contained in:
@@ -33,7 +33,7 @@ download_with_retries() {
|
||||
return 0
|
||||
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"
|
||||
sleep 30
|
||||
sleep $interval
|
||||
fi
|
||||
# Enable exit on error back
|
||||
set -e
|
||||
|
||||
Reference in New Issue
Block a user