allow passwordless developer id p12
custom release / build-custom-release (push) Successful in 13s

This commit is contained in:
2026-05-24 18:58:11 +02:00
parent 018d62af14
commit 083f8e7068
2 changed files with 3 additions and 4 deletions
-4
View File
@@ -63,10 +63,6 @@ jobs:
echo "DEVELOPER_ID_APPLICATION_P12_BASE64 secret is required" >&2
exit 1
fi
if [ -z "$DEVELOPER_ID_APPLICATION_P12_PASSWORD" ]; then
echo "DEVELOPER_ID_APPLICATION_P12_PASSWORD secret is required" >&2
exit 1
fi
printf '%s' "$DEVELOPER_ID_APPLICATION_P12_BASE64" | base64 -D > "$certificate_path"
security create-keychain -p "$keychain_password" "$keychain_path"
@@ -36,6 +36,9 @@ setup() {
[ "$status" -eq 0 ]
run rg -n 'DEVELOPER_ID_APPLICATION_P12_PASSWORD secret is required' "$WORKFLOW"
[ "$status" -ne 0 ]
run rg -n 'security import .* -P "\$DEVELOPER_ID_APPLICATION_P12_PASSWORD"' "$WORKFLOW"
[ "$status" -eq 0 ]
run rg -n 'security create-keychain' "$WORKFLOW"