File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7373 cargo install cargo-wix
7474 # Ensure custom WiX configuration is used
7575 if (Test-Path "wix/main.wxs") { Write-Host "Using custom wix/main.wxs" } else { Write-Error "Custom wix/main.wxs not found" }
76- cargo wix --package gcodekit4 --target ${{ matrix.platform.target }} --nocapture
76+
77+ # Build manually to ensure we have the binary in the target directory
78+ cargo build --release --target ${{ matrix.platform.target }}
79+
80+ # Move binary to where WiX expects it (target/release) because cargo wix doesn't handle target dirs in WXS source paths automatically
81+ New-Item -ItemType Directory -Force -Path target/release
82+ Copy-Item "target/${{ matrix.platform.target }}/release/gcodekit4.exe" "target/release/gcodekit4.exe"
83+
84+ # Run WiX without building
85+ cargo wix --no-build --package gcodekit4 --nocapture
7786 mv target/wix/*.msi ${{ matrix.platform.name }}
7887
7988 - name : Upload Artifact
Original file line number Diff line number Diff line change 1+ ## [ 0.56.4-alpha.0] - 2025-11-30
2+
3+ ### Fixed
4+ - ** CI/CD** : Fixed Windows installer build failure by manually moving the cross-compiled binary to the default release directory expected by WiX.
5+
16## [ 0.56.3-alpha.0] - 2025-11-30
27
38### Fixed
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ members = [
1313resolver = " 2"
1414
1515[workspace .package ]
16- version = " 0.56.3 -alpha.0"
16+ version = " 0.56.4 -alpha.0"
1717edition = " 2021"
1818license = " MIT OR Apache-2.0"
1919authors = [" GCodeKit Contributors" ]
You can’t perform that action at this time.
0 commit comments