ci(appveyor): package artifacts in after_build

`before_package` is too late, and artifacts cannot be detected then.
This commit is contained in:
Oleg Shparber 2018-11-06 22:06:22 -05:00
parent 646e1892fc
commit 2fe4122d9e

View File

@ -92,8 +92,7 @@ build_script:
msbuild "dist\ALL_BUILD.vcxproj" /m /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" msbuild "dist\ALL_BUILD.vcxproj" /m /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
- sh: |- - sh: |-
cmake --build build cmake --build build
test: off after_build:
before_package:
- ps: |- - ps: |-
$package = "zeal" $package = "zeal"
@ -159,6 +158,7 @@ before_package:
$archiveName = "$deploymentDir.zip" $archiveName = "$deploymentDir.zip"
& 7z a -mx=9 "$archiveName" "$deploymentDir" & 7z a -mx=9 "$archiveName" "$deploymentDir"
test: off
artifacts: artifacts:
- path: zeal-*.zip - path: zeal-*.zip
deploy: deploy:
@ -172,4 +172,3 @@ deploy:
version: $(ZEAL_PKG_VERSION) version: $(ZEAL_PKG_VERSION)
publish: true publish: true
override: true override: true