fix: guard windows installer smoke exits
This commit is contained in:
1 parent
4a7a1b6b8c
commit
b303ea405b
1 file changed
+6
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user