File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11version : build-{build}
2- image : Visual Studio 2017
2+ image : Visual Studio 2019
33
44platform :
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
3933artifacts :
4034 - path : notepadpp-CodeStats_*.zip
You can’t perform that action at this time.
0 commit comments