From 56c5d77afde00b7ee0b988548036b4056aaaa5b2 Mon Sep 17 00:00:00 2001 From: Alex Pyrgiotis Date: Tue, 21 Feb 2023 20:41:09 +0200 Subject: [PATCH] Build Windows MSI/.exe in GitHub actions Update our GitHub actions manifest to also build a dummy Windows MSI installer for Dangerzone, so that we don't find out issues during release. --- .github/workflows/ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1411b99..0f06865 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,6 +20,13 @@ jobs: - run: poetry install - name: Run CLI tests run: poetry run make test + # Taken from: https://github.com/orgs/community/discussions/27149#discussioncomment-3254829 + - name: Set path for candle and light + run: echo "C:\Program Files (x86)\WiX Toolset v3.11\bin" >> $GITHUB_PATH + shell: bash + - name: Build the MSI installer + # NOTE: This also builds the .exe internally. + run: poetry run .\install\windows\build-app.bat macOS: runs-on: macos-latest