Add an option to skip building Windows app in CI

This commit is contained in:
Samuel Elliott 2022-08-02 11:32:38 +01:00
parent 225efcd4a5
commit dfef97c369
No known key found for this signature in database
GPG Key ID: 8420C7CDE43DC4D6

View File

@ -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