Update appveyor.yml

This commit is contained in:
JustArchi
2019-09-26 11:41:12 +02:00
parent cf5bed53e3
commit d5fc268701

View File

@@ -11,7 +11,7 @@ environment:
CROWDIN_PROJECT_IDENTIFIER: archisteamfarm
DOTNET_CHANNEL: 2.2
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_INSTALL_DIR: tools\dotnet
DOTNET_INSTALL_DIR: C:\Program Files\dotnet
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
NET_CORE_VERSION: netcoreapp2.2
NET_FRAMEWORK_VERSION: net48
@@ -40,7 +40,6 @@ install:
dotnet --info
&([scriptblock]::Create((Invoke-WebRequest 'https://dot.net/v1/dotnet-install.ps1'))) -Channel "$env:DOTNET_CHANNEL" -InstallDir "$env:DOTNET_INSTALL_DIR" -NoPath
$env:Path = "$pwd\$env:DOTNET_INSTALL_DIR;$env:Path"
}
before_build:
- pwsh: >-
@@ -51,11 +50,6 @@ before_build:
$ProgressPreference = 'SilentlyContinue'
if (Test-Path "$env:DOTNET_INSTALL_DIR" -PathType Container) {
$env:Path = "$pwd\$env:DOTNET_INSTALL_DIR;$env:Path"
}
dotnet --info
@@ -79,11 +73,6 @@ build_script:
$ProgressPreference = 'SilentlyContinue'
if (Test-Path "$env:DOTNET_INSTALL_DIR" -PathType Container) {
$env:Path = "$pwd\$env:DOTNET_INSTALL_DIR;$env:Path"
}
Push-Location ASF-ui
@@ -129,11 +118,6 @@ test_script:
$ProgressPreference = 'SilentlyContinue'
if (Test-Path "$env:DOTNET_INSTALL_DIR" -PathType Container) {
$env:Path = "$pwd\$env:DOTNET_INSTALL_DIR;$env:Path"
}
dotnet test ArchiSteamFarm.Tests -c "$env:CONFIGURATION" -f "$env:NET_CORE_VERSION" -o 'out\source' /nologo
@@ -149,11 +133,6 @@ after_test:
$ProgressPreference = 'SilentlyContinue'
if (Test-Path "$env:DOTNET_INSTALL_DIR" -PathType Container) {
$env:Path = "$pwd\$env:DOTNET_INSTALL_DIR;$env:Path"
}
$PublishBlock = {
param($variant)