CI: Use WiX Toolset v5 to build the msi

This commit is contained in:
JKarasti 2024-09-23 22:38:47 +03:00 committed by Alex Pyrgiotis
parent 2053c98c09
commit 38a803085f
No known key found for this signature in database
GPG key ID: B6C15EBA0357C9AA

View file

@ -119,10 +119,14 @@ jobs:
key: v1-tessdata-${{ hashFiles('./install/common/download-tessdata.py') }} key: v1-tessdata-${{ hashFiles('./install/common/download-tessdata.py') }}
- name: Run CLI tests - name: Run CLI tests
run: poetry run make test run: poetry run make test
# Taken from: https://github.com/orgs/community/discussions/27149#discussioncomment-3254829 - name: Set up .NET CLI environment
- name: Set path for candle and light uses: actions/setup-dotnet@v4
run: echo "C:\Program Files (x86)\WiX Toolset v3.14\bin" >> $GITHUB_PATH with:
shell: bash dotnet-version: "8.x"
- name: Install WiX Toolset
run: dotnet tool install --global wix
- name: Add WiX UI extension
run: wix extension add --global WixToolset.UI.wixext
- name: Build the MSI installer - name: Build the MSI installer
# NOTE: This also builds the .exe internally. # NOTE: This also builds the .exe internally.
run: poetry run .\install\windows\build-app.bat run: poetry run .\install\windows\build-app.bat