Switch Windows bundler from WiX/MSI to NSIS/EXE
Build Lotus Chat Desktop / prepare-release (push) Failing after 18m5s
Build Lotus Chat Desktop / build-windows (push) Has been skipped
Build Lotus Chat Desktop / build-linux (push) Has been skipped

This commit is contained in:
2026-06-06 19:03:33 -04:00
parent adb017804d
commit 279117ecf2
+6 -6
View File
@@ -78,7 +78,7 @@ jobs:
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ''
NODE_OPTIONS: '--max_old_space_size=4096'
run: npm run tauri -- build
run: npm run tauri -- build -- --bundles nsis
- name: Upload to release
shell: powershell
@@ -87,13 +87,13 @@ jobs:
RELEASE_ID: ${{ needs.prepare-release.outputs.release_id }}
VERSION: ${{ needs.prepare-release.outputs.version }}
run: |
$msi = "src-tauri\target\release\bundle\msi"
$nsis = "src-tauri\target\release\bundle\nsis"
$files = @(
"$msi\Cinny_${VERSION}_x64_en-US.msi",
"$msi\Cinny_${VERSION}_x64_en-US.msi.zip",
"$msi\Cinny_${VERSION}_x64_en-US.msi.zip.sig"
"$nsis\Cinny_${VERSION}_x64-setup.exe",
"$nsis\Cinny_${VERSION}_x64-setup.nsis.zip",
"$nsis\Cinny_${VERSION}_x64-setup.nsis.zip.sig"
)
$names = @("LotusChat-x86_64.msi", "LotusChat-x86_64.msi.zip", "LotusChat-x86_64.msi.zip.sig")
$names = @("LotusChat-x86_64-setup.exe", "LotusChat-x86_64-setup.nsis.zip", "LotusChat-x86_64-setup.nsis.zip.sig")
for ($i = 0; $i -lt $files.Length; $i++) {
$bytes = [System.IO.File]::ReadAllBytes($files[$i])
Invoke-RestMethod -Uri "$env:GITEA_URL/api/v1/repos/$env:REPO/releases/$RELEASE_ID/assets?name=$($names[$i])" `