From fcd814d7b829f8481a1581c6da0573c38f35f3ab Mon Sep 17 00:00:00 2001 From: Michael Simons Date: Tue, 5 May 2026 16:35:47 +0000 Subject: [PATCH] Validate install scripts from dotnet/install-scripts@5147e323 --- eng/common/tools.ps1 | 2 +- eng/common/tools.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/eng/common/tools.ps1 b/eng/common/tools.ps1 index 65adefc7f26..4f87d5ef773 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/5147e32300a8e908f5d737c8cff63a76b4b63531/src/dotnet-install.ps1" Retry({ Write-Host "GET $uri" diff --git a/eng/common/tools.sh b/eng/common/tools.sh index 95c55ce9b4d..f7ae5901618 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/5147e32300a8e908f5d737c8cff63a76b4b63531/src/dotnet-install.sh" local timestamp_file="$root/.dotnet-install.timestamp" local should_download=false