Skip to content

GlazeWM is a tiling window manager for macOS and Windows inspired by i3wm.

ci: wip update release and build scripts to msi installer

Lars Bergered8bd6e6fbf4
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index 56e0fc5f..dbee4f00 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -13,11 +13,11 @@ jobs:
include:
# 64-bit Windows (Intel & AMD)
- rust-target: x86_64-pc-windows-msvc
- wix-target: win-x64
+ wix-target: x64
# 64-bit Windows (ARM)
- rust-target: aarch64-pc-windows-msvc
- wix-target: win-arm64
+ wix-target: arm64
runs-on: windows-latest
steps:
@@ -49,12 +49,12 @@ jobs:
- name: Create MSI installer
run: |
- wix extension add WixToolset.UI.wixext/5 WixToolset.Util.wixext/5
+ wix extension add WixToolset.UI.wixext/5 WixToolset.Util.wixext/5 WixToolset.BootstrapperApplications.wixext/5
wix build -arch ${{ matrix.wix-target }} -ext WixToolset.UI.wixext -ext WixToolset.Util.wixext \
- -out "./tmp/installer.msi" "./resources/main.wxs"
+ -out "./tmp/installer.exe" "./resources/main.wxs"
- uses: actions/upload-artifact@v4
with:
name: installer-${{ matrix.rust-target }}
if-no-files-found: error
- path: tmp/installer.msi
+ path: tmp/installer.exe
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index b2c50f7c..f168435c 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -28,17 +28,17 @@ jobs:
with:
fetch-depth: 0
- - name: Download artifacts (win-x64)
+ - name: Download artifacts (x64)
uses: actions/download-artifact@v4
with:
- name: glazewm-win-x64-${{ github.sha }}
- path: artifacts/win-x64
+ name: installer-x86_64-pc-windows-msvc
+ path: tmp/installer-x64
- - name: Download artifacts (win-x86)
+ - name: Download artifacts (arm64)
uses: actions/download-artifact@v4
with:
- name: glazewm-win-x86-${{ github.sha }}
- path: artifacts/win-x86
+ name: installer-aarch64-pc-windows-msvc
+ path: tmp/installer-arm64
- uses: glzr-io/actions/semantic-release@main
with:
@@ -48,11 +48,11 @@ jobs:
gh-assets: |
[
{
- "path": "artifacts/win-x64/GlazeWM.exe",
- "name": "GlazeWM_x64_${nextRelease.gitTag}"
+ "path": "tmp/installer-x64",
+ "name": "glazewm_x64_${nextRelease.gitTag}"
},
{
- "path": "artifacts/win-x86/GlazeWM.exe",
- "name": "GlazeWM_x86_${nextRelease.gitTag}"
+ "path": "tmp/installer-arm64",
+ "name": "glazewm_arm64_${nextRelease.gitTag}"
}
]