From 1af844c7e2c32f2b41b1e0ef8485977bab40d8eb Mon Sep 17 00:00:00 2001 From: Gronod Date: Sun, 6 Sep 2026 19:24:30 +0100 Subject: [PATCH] ci(macos): allow headless DMG bundling on Gitea runners --- .gitea/workflows/build-macos.yml | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/.gitea/workflows/build-macos.yml b/.gitea/workflows/build-macos.yml index 0003123..d897aec 100644 --- a/.gitea/workflows/build-macos.yml +++ b/.gitea/workflows/build-macos.yml @@ -84,23 +84,9 @@ jobs: echo "SHORT_SHA=${SHORT_SHA}" >> $GITHUB_ENV echo "PREFIX=ICCery_${TAG}-${SHORT_SHA}-macos-${{ matrix.platform.arch }}" >> $GITHUB_ENV - - name: Warm up macOS GUI for DMG layout - shell: bash - run: | - # Tauri's DMG bundler runs Finder AppleScript to set the background - # picture and icon positions. On CI Macs, Finder/Aqua may be idle, - # which causes AppleEvent timeouts (-1712). Wake them before build. - echo "WindowServer: $(pgrep -l WindowServer || echo 'NOT RUNNING')" - echo "console user: $(stat -f '%Su' /dev/console 2>/dev/null || echo unknown)" - echo "whoami: $(whoami)" - open -g -a Finder || true - open -g -a "System Events" || true - osascript -e 'tell application "Finder" to get name' || true - sleep 10 - - name: Build Tauri App env: - TAURI_BUNDLER_DMG_IGNORE_CI: "true" + CI: "true" run: npm run tauri build -- --target ${{ matrix.platform.target }} - name: Prepare Release Assets -- 2.39.5