fix: guard windows installer smoke exits

This commit is contained in:
millionart committed 2026-05-05 19:05:56 +08:00
1 parent 4a7a1b6b8c
commit b303ea405b
1 file changed
+6
+6
View File
@@ -308,7 +308,13 @@ jobs:
if (-not $nsis) { throw "NSIS installer not found." }
if (-not $msi) { throw "MSI installer not found." }
powershell.exe -NoProfile -ExecutionPolicy Bypass -File .\scripts\windows-ime-install-smoke.ps1 -InstallerPath $nsis.FullName -InstallerKind nsis
if ($LASTEXITCODE -ne 0) {
throw "NSIS installer smoke failed with exit $LASTEXITCODE"
}
powershell.exe -NoProfile -ExecutionPolicy Bypass -File .\scripts\windows-ime-install-smoke.ps1 -InstallerPath $msi.FullName -InstallerKind msi
if ($LASTEXITCODE -ne 0) {
throw "MSI installer smoke failed with exit $LASTEXITCODE"
}
# ── Linux:产 deb / rpm / AppImage ──
- name: Build (Linux)