From 2fd64bb024d77fde406ad2eb6af4054dc2464026 Mon Sep 17 00:00:00 2001 From: ilia-shipitsin <125650415+ilia-shipitsin@users.noreply.github.com> Date: Fri, 13 Oct 2023 14:29:01 +0200 Subject: [PATCH] [macos] add retries when installing DotNETSDK (#8550) --- images/macos/provision/core/dotnet.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/macos/provision/core/dotnet.sh b/images/macos/provision/core/dotnet.sh index 8e86c5642..f9fea2371 100755 --- a/images/macos/provision/core/dotnet.sh +++ b/images/macos/provision/core/dotnet.sh @@ -14,7 +14,7 @@ arch=$(get_arch) # Download installer from dot.net and keep it locally DOTNET_INSTALL_SCRIPT="https://dot.net/v1/dotnet-install.sh" -curl -fsSL -o "dotnet-install.sh" "$DOTNET_INSTALL_SCRIPT" +download_with_retries $DOTNET_INSTALL_SCRIPT . chmod +x ./dotnet-install.sh ARGS_LIST=()