Skip to content

Commit 14783b4

Browse files
committed
update appveyor.yml once again
1 parent 01c4cff commit 14783b4

1 file changed

Lines changed: 7 additions & 13 deletions

File tree

appveyor.yml

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
version: build-{build}
2-
image: Visual Studio 2017
2+
image: Visual Studio 2019
33

44
platform:
55
- x64
@@ -21,20 +21,14 @@ after_build:
2121
- cd "%APPVEYOR_BUILD_FOLDER%"
2222
- ps: >-
2323
24-
if ($env:PLATFORM -eq "x64" -and $env:CONFIGURATION -eq "Release") {
25-
Push-AppveyorArtifact "CodeStats\bin\x64\$env:CONFIGURATION\CodeStats.dll" -FileName CodeStats_x64.dll
24+
if ($env:CONFIGURATION -eq "Release") {
25+
Push-AppveyorArtifact "CodeStats\bin\$env:PLATFORM\$env:CONFIGURATION\CodeStats.dll" -FileName CodeStats_$($env:PLATFORM).dll
2626
}
2727
28-
if ($env:PLATFORM -eq "x86" -and $env:CONFIGURATION -eq "Release") {
29-
Push-AppveyorArtifact "CodeStats\bin\$env:CONFIGURATION\CodeStats.dll" -FileName CodeStats_x86.dll
30-
}
31-
32-
if ($env:PLATFORM -eq "x64" -or $env:PLATFORM -eq "x86") {
33-
$ZipFileName = "notepadpp-CodeStats_$($env:APPVEYOR_REPO_TAG_NAME)_$($env:PLATFORM).zip"
34-
Remove-Item CodeStats\bin\$env:PLATFORM\$env:CONFIGURATION\*.exp
35-
Remove-Item CodeStats\bin\$env:PLATFORM\$env:CONFIGURATION\*.lib
36-
7z a $ZipFileName CodeStats\bin\$env:PLATFORM\$env:CONFIGURATION\*
37-
}
28+
$ZipFileName = "notepadpp-CodeStats_$($env:APPVEYOR_REPO_TAG_NAME)_$($env:PLATFORM)_$($env:CONFIGURATION).zip"
29+
Remove-Item CodeStats\bin\$env:PLATFORM\$env:CONFIGURATION\*.exp
30+
Remove-Item CodeStats\bin\$env:PLATFORM\$env:CONFIGURATION\*.lib
31+
7z a $ZipFileName CodeStats\bin\$env:PLATFORM\$env:CONFIGURATION\*
3832
3933
artifacts:
4034
- path: notepadpp-CodeStats_*.zip

0 commit comments

Comments
 (0)