YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
fix: unlock macOS keychain before cert import in CI
Louis Beaumont834af3d614e7
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.ymlindex 3dad12aa0..b42b6b594 100644--- a/.github/workflows/release-app.yml+++ b/.github/workflows/release-app.yml@@ -744,6 +744,7 @@ jobs:env:APPLE_CERTIFICATE: ${{ secrets.APPLE_CERTIFICATE }}APPLE_CERTIFICATE_PASSWORD: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }}+ KEYCHAIN_PASSWORD: ${{ secrets.KEYCHAIN_PASSWORD }}run: |# Import the signing cert directly into the login keychain instead of letting# Tauri create a temp keychain. On self-hosted runners, Tauri's temp keychain@@ -755,6 +756,12 @@ jobs:# Tauri will find the identity in the existing keychain and skip temp keychain# creation entirely.+ # Unlock login keychain first (required on self-hosted runners where+ # the keychain is locked and UI interaction is not available)+ KC_PASS="${KEYCHAIN_PASSWORD:-}"+ security unlock-keychain -p "$KC_PASS" ~/Library/Keychains/login.keychain-db 2>/dev/null || \+ security unlock-keychain -p "" ~/Library/Keychains/login.keychain-db 2>/dev/null || true+# Decode and import the p12CERT_PATH=$(mktemp /tmp/cert.XXXXXX.p12)echo "$APPLE_CERTIFICATE" | base64 --decode > "$CERT_PATH"@@ -770,7 +777,7 @@ jobs:# Set partition list to allow codesign access without UI promptsecurity set-key-partition-list \-S apple-tool:,apple:,codesign: \- -s -k "" \+ -s -k "$KC_PASS" \~/Library/Keychains/login.keychain-db 2>/dev/null || truerm -f "$CERT_PATH"