diff --git a/eng/common/tools.ps1 b/eng/common/tools.ps1 index 65adefc7f26871..1237c394c18a71 100644 --- a/eng/common/tools.ps1 +++ b/eng/common/tools.ps1 @@ -276,7 +276,7 @@ function GetDotNetInstallScript([string] $dotnetRoot) { if ($shouldDownload) { Create-Directory $dotnetRoot $ProgressPreference = 'SilentlyContinue' # Don't display the console progress UI - it's a huge perf hit - $uri = "https://builds.dotnet.microsoft.com/dotnet/scripts/$dotnetInstallScriptVersion/dotnet-install.ps1" + $uri = "https://raw.githubusercontent.com/dotnet/install-scripts/9c8552ae791982d3674fbb4d6ad887e536e7f506/src/dotnet-install.ps1" Retry({ Write-Host "GET $uri" diff --git a/eng/common/tools.sh b/eng/common/tools.sh index 95c55ce9b4d914..87a69aa2c2a25c 100755 --- a/eng/common/tools.sh +++ b/eng/common/tools.sh @@ -304,7 +304,7 @@ function with_retries { function GetDotNetInstallScript { local root=$1 local install_script="$root/dotnet-install.sh" - local install_script_url="https://builds.dotnet.microsoft.com/dotnet/scripts/$dotnetInstallScriptVersion/dotnet-install.sh" + local install_script_url="https://raw.githubusercontent.com/dotnet/install-scripts/9c8552ae791982d3674fbb4d6ad887e536e7f506/src/dotnet-install.sh" local timestamp_file="$root/.dotnet-install.timestamp" local should_download=false