Fix: GitHub CI windows again
All checks were successful
Deploy Website / deploy (push) Has been skipped
All checks were successful
Deploy Website / deploy (push) Has been skipped
This commit is contained in:
2
.github/workflows/msi.yml
vendored
2
.github/workflows/msi.yml
vendored
@@ -23,7 +23,7 @@ jobs:
|
|||||||
run: cargo install cargo-wix
|
run: cargo install cargo-wix
|
||||||
|
|
||||||
- name: Build MSI
|
- 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
|
- name: Upload MSI
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
|
|||||||
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -149,7 +149,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Build MSI installer (Windows)
|
- name: Build MSI installer (Windows)
|
||||||
if: runner.os == '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)
|
- name: Upload MSI installer (Windows)
|
||||||
if: runner.os == 'Windows'
|
if: runner.os == 'Windows'
|
||||||
|
|||||||
@@ -330,7 +330,7 @@ copy_artifacts() {
|
|||||||
# MSI installer for Windows targets
|
# MSI installer for Windows targets
|
||||||
if [[ "$os" == "windows" ]] && command -v cargo-wix &>/dev/null; then
|
if [[ "$os" == "windows" ]] && command -v cargo-wix &>/dev/null; then
|
||||||
echo " Building MSI installer..."
|
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
|
cp target/wix/*.msi "$OUT/" 2>/dev/null && echo " MSI -> $OUT/" || true
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user