From d5fc2687019659ad3192e80db5a4470d06d09c1c Mon Sep 17 00:00:00 2001 From: JustArchi Date: Thu, 26 Sep 2019 11:41:12 +0200 Subject: [PATCH] Update appveyor.yml --- appveyor.yml | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index c2908fa2d..158a7f67b 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -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)