Fix Windows CUDA build: replace Compress-Archive and drop NSIS
Some checks failed
Release / Bump version and tag (push) Successful in 4s
Release / Build (Windows) (push) Has been cancelled
Release / Build (macOS) (push) Has been cancelled
Release / Build (Linux) (push) Has been cancelled

- Replace Compress-Archive (2GB limit) with 7z for sidecar packaging
- Remove NSIS from bundle targets — NSIS has a 2GB per-file limit that
  breaks with CUDA-sized sidecar.zip; MSI (WiX) handles large files
  by splitting into multiple CABs
- Update Windows upload to look for .msi only

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Claude
2026-03-22 06:33:06 -07:00
parent 7c814805f3
commit 024efccd42
2 changed files with 4 additions and 3 deletions

View File

@@ -222,7 +222,8 @@ jobs:
- name: Package sidecar for Tauri
shell: powershell
run: |
Compress-Archive -Path python\dist\voice-to-notes-sidecar\* -DestinationPath src-tauri\sidecar.zip
# Compress-Archive has a 2GB limit; use 7z for CUDA builds
7z a -tzip -mx=5 src-tauri\sidecar.zip .\python\dist\voice-to-notes-sidecar\*
# ── Tauri app ──
- name: Set up Node.js
@@ -266,7 +267,7 @@ jobs:
$RELEASE_ID = $release.id
Write-Host "Release ID: ${RELEASE_ID}"
Get-ChildItem -Path src-tauri\target\release\bundle -Recurse -Include *.msi,*-setup.exe | ForEach-Object {
Get-ChildItem -Path src-tauri\target\release\bundle -Recurse -Include *.msi | ForEach-Object {
$filename = $_.Name
$encodedName = [System.Uri]::EscapeDataString($filename)
$size = [math]::Round($_.Length / 1MB, 1)

View File

@@ -31,7 +31,7 @@
},
"bundle": {
"active": true,
"targets": ["deb", "nsis", "msi", "dmg"],
"targets": ["deb", "msi", "dmg"],
"icon": [
"icons/32x32.png",
"icons/128x128.png",