From dfef97c3690cfc207e8826ef66da4d2986b5f173 Mon Sep 17 00:00:00 2001 From: Samuel Elliott Date: Tue, 2 Aug 2022 11:32:38 +0100 Subject: [PATCH] Add an option to skip building Windows app in CI --- .gitlab-ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6b660ed..238aaae 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -53,6 +53,9 @@ build-windows: - app/mac/**/* - app/win-unpacked/**/* - app/linux-unpacked/**/* + only: + variables: + - $BUILD_WINDOWS_APP == "true" cache: paths: - node_modules/ @@ -92,7 +95,7 @@ publish-gitlab: refs: - /^v.*$/ variables: - - $GITLAB_NPM_PUBLISH + - $GITLAB_NPM_PUBLISH == "true" - $GITLAB_NPM_PACKAGE_NAME except: - branches