From eeefb7d54d55d613888978dcc5886c6a4c74edfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Forment?= Date: Sun, 1 Mar 2026 22:44:00 +0100 Subject: [PATCH] Fix: GitHub CI windows again --- .github/workflows/msi.yml | 2 +- .github/workflows/release.yml | 2 +- scripts/build-all.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/msi.yml b/.github/workflows/msi.yml index 3bafa2c..2508db8 100644 --- a/.github/workflows/msi.yml +++ b/.github/workflows/msi.yml @@ -23,7 +23,7 @@ jobs: run: cargo install cargo-wix - name: Build MSI - run: cargo wix --no-build --nocapture --package cagire -C -p -C x64 + run: cargo wix --no-build --nocapture --package cagire -C -arch -C x64 - name: Upload MSI uses: actions/upload-artifact@v4 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 96c4cda..b3acacd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -149,7 +149,7 @@ jobs: - name: Build MSI installer (Windows) if: runner.os == 'Windows' - run: cargo wix --no-build --nocapture --package cagire -C -p -C x64 + run: cargo wix --no-build --nocapture --package cagire -C -arch -C x64 - name: Upload MSI installer (Windows) if: runner.os == 'Windows' diff --git a/scripts/build-all.sh b/scripts/build-all.sh index fc0087a..b4ab9e4 100755 --- a/scripts/build-all.sh +++ b/scripts/build-all.sh @@ -330,7 +330,7 @@ copy_artifacts() { # MSI installer for Windows targets if [[ "$os" == "windows" ]] && command -v cargo-wix &>/dev/null; then echo " Building MSI installer..." - cargo wix --no-build --nocapture --package cagire -C -p -C x64 + cargo wix --no-build --nocapture --package cagire -C -arch -C x64 cp target/wix/*.msi "$OUT/" 2>/dev/null && echo " MSI -> $OUT/" || true fi