Run release desktop builds in Tauri CI mode

The release workflow shells out through tauri-action but did not pass Tauri's --ci flag, while the desktop development workflow already uses it for the same app,dmg packaging path. Align release builds with the non-interactive CI mode so macOS DMG packaging does not depend on interactive defaults during tag builds.

Constraint: Release assets are produced remotely by .github/workflows/release-desktop.yml on tag push
Constraint: The dev desktop workflow already validates macOS app,dmg packaging through tauri build --ci
Rejected: Drop macOS DMG from release assets | would reduce the expected user-facing installer surface for 0.2.1
Confidence: medium
Scope-risk: narrow
Directive: Keep release and dev desktop Tauri build flags aligned when changing bundle behavior
Tested: bunx tauri build --target aarch64-apple-darwin --bundles app,dmg --ci --config /tmp/tauri-no-updater.json
Tested: git diff --check
Not-tested: Full GitHub release workflow after retag before pushing
This commit is contained in:
程序员阿江(Relakkes) 2026-05-05 23:14:32 +08:00
parent 97da3ae180
commit 05e4852082

View File

@ -178,4 +178,4 @@ jobs:
prerelease: false
updaterJsonPreferNsis: true
releaseAssetNamePattern: ${{ matrix.asset_name_pattern }}
args: ${{ matrix.tauri_args }} --config src-tauri/tauri.release-ci.json
args: ${{ matrix.tauri_args }} --ci --config src-tauri/tauri.release-ci.json