diff --git a/appveyor.yml b/appveyor.yml index ae5f97d7b..c366f7afa 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -23,9 +23,7 @@ environment: matrix: - TASK: test - BUILD_ARG: - TASK: installer - BUILD_ARG: --create-windows-installer matrix: fast_finish: true @@ -38,6 +36,12 @@ install: build_script: - CD %APPVEYOR_BUILD_FOLDER% + - | + IF [%TASK%]==[installer] ( + SET BUILD_ARG=--create-windows-installer + ) ELSE ( + SET BUILD_ARG= + ) - script\build.cmd --code-sign --compress-artifacts %BUILD_ARG% test_script: