mirror of
https://github.com/JustArchiNET/ArchiSteamFarm
synced 2024-11-10 15:14:41 +00:00
AppVeyor: Ignore network issues (#2243)
This commit is contained in:
parent
50e792f8a7
commit
6a216819fa
1 changed files with 12 additions and 2 deletions
14
appveyor.yml
14
appveyor.yml
|
@ -50,14 +50,24 @@ install:
|
|||
if ($env:DOTNET_CHANNEL) {
|
||||
dotnet --info
|
||||
|
||||
&([scriptblock]::Create((Invoke-WebRequest 'https://dot.net/v1/dotnet-install.ps1'))) -Channel "$env:DOTNET_CHANNEL" -InstallDir "$env:DOTNET_INSTALL_DIR" -NoPath
|
||||
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
|
||||
Write-Host $_
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if ($env:DOTNET_SDK) {
|
||||
dotnet --info
|
||||
|
||||
&([scriptblock]::Create((Invoke-WebRequest 'https://dot.net/v1/dotnet-install.ps1'))) -Channel 'Current' -Version "$env:DOTNET_SDK" -InstallDir "$env:DOTNET_INSTALL_DIR" -NoPath
|
||||
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
|
||||
Write-Host $_
|
||||
}
|
||||
}
|
||||
- ps: Install-Product node "$env:NODE_JS_VERSION"
|
||||
before_build:
|
||||
|
|
Loading…
Reference in a new issue