diff --git a/.github/workflows/release-tauri.yml b/.github/workflows/release-tauri.yml index f58ff75b..a648bf87 100644 --- a/.github/workflows/release-tauri.yml +++ b/.github/workflows/release-tauri.yml @@ -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)