From 6419d0ebd9076850a543cfd6041f9857236608a5 Mon Sep 17 00:00:00 2001 From: SoftFever Date: Thu, 22 Jan 2026 17:12:48 +0800 Subject: [PATCH] fix build error --- .github/workflows/build_orca.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build_orca.yml b/.github/workflows/build_orca.yml index 094a722013..6b09f7ffab 100644 --- a/.github/workflows/build_orca.yml +++ b/.github/workflows/build_orca.yml @@ -122,6 +122,8 @@ jobs: security create-keychain -p $KEYCHAIN_PASSWORD $KEYCHAIN_PATH security set-keychain-settings -lut 21600 $KEYCHAIN_PATH security unlock-keychain -p $KEYCHAIN_PASSWORD $KEYCHAIN_PATH + # Set the temporary keychain as the default to prevent codesign from accessing the locked login keychain + security default-keychain -s "$KEYCHAIN_PATH" security import $CERTIFICATE_PATH -P $P12_PASSWORD -A -t cert -f pkcs12 -k $KEYCHAIN_PATH security list-keychain -d user -s $KEYCHAIN_PATH security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k $P12_PASSWORD $KEYCHAIN_PATH