From 1727a1ef0fc6ce53f71d1a227cce86c0d71d7551 Mon Sep 17 00:00:00 2001 From: Ella Hathaway <67609881+ellahathaway@users.noreply.github.com> Date: Tue, 19 May 2026 09:40:53 -0700 Subject: [PATCH] Validate install scripts from dotnet/install-scripts@9c8552ae --- 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 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