From 05e4852082bf1aab51f05009022f98b61d77a70c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A8=8B=E5=BA=8F=E5=91=98=E9=98=BF=E6=B1=9F=28Relakkes?= =?UTF-8?q?=29?= Date: Tue, 5 May 2026 23:14:32 +0800 Subject: [PATCH] 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 --- .github/workflows/release-desktop.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-desktop.yml b/.github/workflows/release-desktop.yml index f8bc8a65..3489e574 100644 --- a/.github/workflows/release-desktop.yml +++ b/.github/workflows/release-desktop.yml @@ -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