mirror of
https://github.com/JustArchiNET/ArchiSteamFarm
synced 2024-11-10 15:14:41 +00:00
Update AppVeyor CI to Powershell Core (#767)
* Update AppVeyor CI to Powershell Core * Fix Push-AppveyorArtifact
This commit is contained in:
parent
6a2c1ce01b
commit
faeb7458bc
1 changed files with 6 additions and 5 deletions
11
appveyor.yml
11
appveyor.yml
|
@ -18,7 +18,7 @@ environment:
|
|||
matrix:
|
||||
fast_finish: true
|
||||
before_build:
|
||||
- ps: >-
|
||||
- pwsh: >-
|
||||
Set-StrictMode -Version Latest
|
||||
|
||||
$ErrorActionPreference = 'Stop'
|
||||
|
@ -30,7 +30,7 @@ before_build:
|
|||
|
||||
dotnet restore
|
||||
build_script:
|
||||
- ps: >-
|
||||
- pwsh: >-
|
||||
Set-StrictMode -Version Latest
|
||||
|
||||
$ErrorActionPreference = 'Stop'
|
||||
|
@ -40,7 +40,7 @@ build_script:
|
|||
|
||||
dotnet build -c "$env:CONFIGURATION" -o 'out\source' --no-restore /nologo
|
||||
test_script:
|
||||
- ps: >-
|
||||
- pwsh: >-
|
||||
Set-StrictMode -Version Latest
|
||||
|
||||
$ErrorActionPreference = 'Stop'
|
||||
|
@ -50,7 +50,7 @@ test_script:
|
|||
|
||||
dotnet test ArchiSteamFarm.Tests -c "$env:CONFIGURATION" -o 'out\source' --no-build --no-restore
|
||||
after_test:
|
||||
- ps: >-
|
||||
- pwsh: >-
|
||||
Set-StrictMode -Version Latest
|
||||
|
||||
$ErrorActionPreference = 'Stop'
|
||||
|
@ -99,7 +99,8 @@ after_test:
|
|||
}
|
||||
|
||||
7z a -bd -tzip -mm=Deflate64 $zipArgs "ArchiSteamFarm\out\ASF-$Variant.zip" "$env:APPVEYOR_BUILD_FOLDER\ArchiSteamFarm\out\$Variant\*"
|
||||
Push-AppveyorArtifact "ArchiSteamFarm\out\ASF-$Variant.zip" -FileName "ASF-$Variant.zip" -DeploymentName "ASF-$Variant.zip"
|
||||
# TODO: Change me to Push-AppveyorArtifact once https://github.com/appveyor/ci/issues/2183 is fixed
|
||||
appveyor PushArtifact "ArchiSteamFarm\out\ASF-$Variant.zip" -FileName "ASF-$Variant.zip" -DeploymentName "ASF-$Variant.zip"
|
||||
}
|
||||
|
||||
foreach ($variant in $env:VARIANTS.Split([char[]] $null, [System.StringSplitOptions]::RemoveEmptyEntries)) {
|
||||
|
|
Loading…
Reference in a new issue