Skip to content

Commit f77b7ec

Browse files
dvschultzclaude
andcommitted
fix(ci): set keychain timeout to 30min to prevent notarization failure
The macOS CI runner's keychain auto-locks after 5 minutes (system default), but Apple notarization takes 5-10 minutes. By the time notarization completes, the keychain is locked and the log fetch + staple step fails with keychainLocked error. Set keychain timeout to 1800s (30 min) with -u (lock on sleep only). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 7bc55dd commit f77b7ec

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/build-macos.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,7 @@ jobs:
406406
security create-keychain -p "$KEYCHAIN_PASSWORD" build.keychain
407407
security default-keychain -s build.keychain
408408
security unlock-keychain -p "$KEYCHAIN_PASSWORD" build.keychain
409+
security set-keychain-settings -t 1800 -u build.keychain
409410
security import certificate.p12 \
410411
-k build.keychain \
411412
-P "$MACOS_CERTIFICATE_PWD" \

0 commit comments

Comments
 (0)