Use ad-hoc signing when no Apple certificate is configured
All checks were successful
Tests / Python Backend Tests (push) Successful in 5s
Tests / Frontend Tests (push) Successful in 7s
Tests / Rust Sidecar Tests (push) Successful in 2m4s

Prevents Tauri from auto-detecting local keychain certificates on the
build machine, which causes SecKeychainItemImport failures.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Developer
2026-04-10 19:30:44 -07:00
parent ad89735822
commit e0396df7b0

View File

@@ -60,7 +60,13 @@ jobs:
APPLE_API_KEY: ${{ secrets.APPLE_API_KEY }}
APPLE_API_ISSUER: ${{ secrets.APPLE_API_ISSUER }}
APPLE_API_KEY_PATH: ~/private_keys/AuthKey_${{ secrets.APPLE_API_KEY }}.p8
run: npm run tauri build
run: |
# If no signing identity is configured, use ad-hoc signing to prevent
# Tauri from auto-detecting local keychain certificates
if [ -z "${APPLE_SIGNING_IDENTITY}" ]; then
export APPLE_SIGNING_IDENTITY="-"
fi
npm run tauri build
- name: Upload to release
env: