From e94cbd2843dcbb69ad743147dbe3997cbc51943e Mon Sep 17 00:00:00 2001 From: Dmitry Date: Wed, 25 Aug 2021 10:21:37 +0300 Subject: [PATCH] add appveyor build artifact --- appveyor.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index fd0ea48..420ec1a 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -2,4 +2,15 @@ version: 1.0.{build} before_build: - ps: nuget restore PasswordChanger1C.sln build: - verbosity: minimal \ No newline at end of file + verbosity: minimal +after_build: +- ps: | + if (!$env:Configuration) {$env:Configuration="Debug"}; + 7z a PasswordChanger1C.zip ` + $env:APPVEYOR_BUILD_FOLDER\PasswordChanger1C\bin\$env:Configuration\*.dll ` + $env:APPVEYOR_BUILD_FOLDER\PasswordChanger1C\bin\$env:Configuration\*.exe ` + $env:APPVEYOR_BUILD_FOLDER\PasswordChanger1C\bin\$env:Configuration\*.exe.config ` + $env:APPVEYOR_BUILD_FOLDER\PasswordChanger1C\bin\$env:Configuration\*.pdb +artifacts: +- path: PasswordChanger1C.zip + name: PasswordChanger1C \ No newline at end of file