1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-18 13:55:23 -05:00

Fix msi installer build

This works around an issue where wix was pulling pre-release extensions
and thus breaking compatibility with our used wix version.
This commit is contained in:
Christian Duerr 2024-03-24 05:00:41 +01:00
parent 889a326738
commit 126955d79b

View file

@ -48,10 +48,10 @@ jobs:
./.github/workflows/upload_asset.sh \ ./.github/workflows/upload_asset.sh \
./Alacritty-${GITHUB_REF##*/}-portable.exe $GITHUB_TOKEN ./Alacritty-${GITHUB_REF##*/}-portable.exe $GITHUB_TOKEN
- name: Install WiX - name: Install WiX
run: dotnet tool install --global wix --version 4.0.1 run: dotnet tool install --global wix --version 4.0.5
- name: Crate msi installer - name: Create msi installer
run: | run: |
wix extension add WixToolset.UI.wixext WixToolset.Util.wixext wix extension add WixToolset.UI.wixext/4.0.5 WixToolset.Util.wixext/4.0.5
wix build -arch "x64" -ext WixToolset.UI.wixext -ext WixToolset.Util.wixext \ wix build -arch "x64" -ext WixToolset.UI.wixext -ext WixToolset.Util.wixext \
-out "./Alacritty-${GITHUB_REF##*/}-installer.msi" "alacritty/windows/wix/alacritty.wxs" -out "./Alacritty-${GITHUB_REF##*/}-installer.msi" "alacritty/windows/wix/alacritty.wxs"
- name: Upload msi installer - name: Upload msi installer