Skip to content

Commit fd64ac2

Browse files
committed
Force delete the keychain
1 parent 8229494 commit fd64ac2

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/app_build.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -218,11 +218,7 @@ jobs:
218218
219219
# ----- Configure Keychain -----
220220
KEYCHAIN_PATH=$RUNNER_TEMP/app-signing.keychain-db
221-
if [[ -f $KEYCHAIN_PATH ]]; then
222-
echo "Removing previous keychain-db at ${KEYCHAIN_PATH}"
223-
security delete-keychain $KEYCHAIN_PATH
224-
rm -f $KEYCHAIN_PATH
225-
fi
221+
security delete-keychain $KEYCHAIN_PATH || true
226222
security create-keychain -p "${{ secrets.MACOS_KEYCHAIN_PASSWORD }}" $KEYCHAIN_PATH
227223
# Unlock it for 6 hours
228224
security set-keychain-settings -lut 21600 $KEYCHAIN_PATH

0 commit comments

Comments
 (0)