File tree 3 files changed +5
-5
lines changed
automation/yaml-templates
xaprepare/xaprepare/ConfigAndData
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 21
21
$completed = $false
22
22
while (-not $completed -and $currentAttempt -le $totalAttempts) {
23
23
try {
24
- $response = Invoke-WebRequest -Uri "https://dot.net /v1/dotnet-install.ps1" -OutFile dotnet-install.ps1 -PassThru
24
+ $response = Invoke-WebRequest -Uri "https://builds.dotnet.microsoft.com/dotnet/scripts /v1/dotnet-install.ps1" -OutFile dotnet-install.ps1 -PassThru
25
25
if ($response.StatusCode -ne 200) {
26
26
throw
27
27
}
46
46
- bash : >
47
47
DOTNET_ROOT=~/.dotnet/ &&
48
48
(if [[ "${{ parameters.remove_dotnet }}" == "true" ]] ; then rm -rfv $DOTNET_ROOT; fi) &&
49
- curl -L https://dot.net /v1/dotnet-install.sh --retry 5 --retry-max-time 300 > dotnet-install.sh &&
49
+ curl -L https://builds.dotnet.microsoft.com/dotnet/scripts /v1/dotnet-install.sh --retry 5 --retry-max-time 300 > dotnet-install.sh &&
50
50
chmod +x dotnet-install.sh &&
51
51
./dotnet-install.sh --channel ${{ parameters.version }} --quality ${{ parameters.quality }} --install-dir $DOTNET_ROOT --skip-non-versioned-files --verbose &&
52
52
PATH="$DOTNET_ROOT:$PATH" &&
Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ partial class Urls
18
18
// This is the "public" url that we really should be using, but it keeps failing with:
19
19
// AuthenticationException: The remote certificate is invalid because of errors in the certificate chain: RevocationStatusUnknown
20
20
// For now we'll grab it directly from GitHub
21
- // public static readonly Uri DotNetInstallScript = new Uri ("https://dot.net /v1/dotnet-install.sh");
22
- public static readonly Uri DotNetInstallScript = new Uri ( "https://raw.githubusercontent. com/dotnet/install- scripts/refs/heads/main/src /dotnet-install.sh" ) ;
21
+ // public static readonly Uri DotNetInstallScript = new Uri ("https://builds.dotnet.microsoft.com/dotnet/scripts /v1/dotnet-install.sh");
22
+ public static readonly Uri DotNetInstallScript = new Uri ( "https://builds.dotnet.microsoft. com/dotnet/scripts/v1 /dotnet-install.sh" ) ;
23
23
}
24
24
}
25
25
}
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ partial class Paths
26
26
27
27
partial class Urls
28
28
{
29
- public static readonly Uri DotNetInstallScript = new Uri ( "https://dot.net /v1/dotnet-install.ps1" ) ;
29
+ public static readonly Uri DotNetInstallScript = new Uri ( "https://builds.dotnet.microsoft.com/dotnet/scripts /v1/dotnet-install.ps1" ) ;
30
30
}
31
31
}
32
32
}
You can’t perform that action at this time.
0 commit comments