Skip to content

Commit 2fd64bb

Browse files
[macos] add retries when installing DotNETSDK (#8550)
1 parent 53d0847 commit 2fd64bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

images/macos/provision/core/dotnet.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ arch=$(get_arch)
1414

1515
# Download installer from dot.net and keep it locally
1616
DOTNET_INSTALL_SCRIPT="https://dot.net/v1/dotnet-install.sh"
17-
curl -fsSL -o "dotnet-install.sh" "$DOTNET_INSTALL_SCRIPT"
17+
download_with_retries $DOTNET_INSTALL_SCRIPT .
1818
chmod +x ./dotnet-install.sh
1919

2020
ARGS_LIST=()

0 commit comments

Comments
 (0)