From 60697aae3e47abc45637e4bf104d4cd68cb73fad Mon Sep 17 00:00:00 2001 From: Joel Collins <2579603-jtc42@users.noreply.gitlab.com> Date: Tue, 16 Jul 2019 15:41:27 +0000 Subject: [PATCH] Allow nightly builds. Make web artifacts temporary --- .gitlab-ci.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 73d680d7..ff5d4130 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -22,6 +22,20 @@ build: only: - stable - tags + +build-nightly: + stage: build + image: electronuserland/builder:wine + script: + - npm install + - npm run build:web + artifacts: + expire_in: 1 week + name: "build" + paths: + - dist/ + only: + - schedules - web # Electron app build @@ -50,6 +64,26 @@ package: only: - stable - tags + +package-nightly: + stage: build + image: electronuserland/builder:wine + script: + - npm install + - npm run build:app + - npm run release + - mv ./release-builds/*.AppImage . + - mv ./release-builds/*.deb . + - mv ./release-builds/*.exe . + artifacts: + expire_in: 1 week + name: "dist" + paths: + - "*.AppImage" + - "*.deb" + - "*.exe" + only: + - schedules - web # Create a nupkg file for Choco package manager