From 4a4ebc77218cc3281630364934c5506026365550 Mon Sep 17 00:00:00 2001 From: Archi Date: Tue, 3 Aug 2021 19:45:11 +0200 Subject: [PATCH] Misc --- .github/appveyor.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/appveyor.yml b/.github/appveyor.yml index e7f5ddf91..28d985e07 100644 --- a/.github/appveyor.yml +++ b/.github/appveyor.yml @@ -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