This commit is contained in:
Archi 2021-08-03 19:45:11 +02:00
parent e2d16f3978
commit 4a4ebc7721
No known key found for this signature in database
GPG key ID: 6B138B4C64555AEA

View file

@ -52,7 +52,7 @@ install:
if ($env:DOTNET_CHANNEL) {
dotnet --info
try {
try {
&([scriptblock]::Create((Invoke-WebRequest 'https://dot.net/v1/dotnet-install.ps1'))) -Channel "$env:DOTNET_CHANNEL" -InstallDir "$env:DOTNET_INSTALL_DIR" -NoPath
} catch [System.Net.WebException],[System.IO.IOException] {
# Not fatal for the remaining part of the script
@ -64,7 +64,7 @@ install:
if ($env:DOTNET_SDK) {
dotnet --info
try {
try {
&([scriptblock]::Create((Invoke-WebRequest 'https://dot.net/v1/dotnet-install.ps1'))) -Channel 'Current' -Version "$env:DOTNET_SDK" -InstallDir "$env:DOTNET_INSTALL_DIR" -NoPath
} catch [System.Net.WebException],[System.IO.IOException] {
# Not fatal for the remaining part of the script