mirror of
https://github.com/zealdocs/zeal.git
synced 2024-11-23 06:13:35 +03:00
ci(appveyor): package artifacts in after_build
`before_package` is too late, and artifacts cannot be detected then.
This commit is contained in:
parent
646e1892fc
commit
2fe4122d9e
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user