Skip to content

Commit

Permalink
ci(appveyor): package artifacts in after_build
Browse files Browse the repository at this point in the history
`before_package` is too late, and artifacts cannot be detected then.
  • Loading branch information
trollixx committed Nov 7, 2018
1 parent 646e189 commit 2fe4122
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,7 @@ build_script:
msbuild "dist\ALL_BUILD.vcxproj" /m /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
- sh: |-
cmake --build build
test: off
before_package:
after_build:
- ps: |-
$package = "zeal"
Expand Down Expand Up @@ -159,6 +158,7 @@ before_package:
$archiveName = "$deploymentDir.zip"
& 7z a -mx=9 "$archiveName" "$deploymentDir"
test: off
artifacts:
- path: zeal-*.zip
deploy:
Expand All @@ -172,4 +172,3 @@ deploy:
version: $(ZEAL_PKG_VERSION)
publish: true
override: true

0 comments on commit 2fe4122

Please sign in to comment.