ci(release): make the throwaway keychain the default keychain
ci / web (push) Failing after 44s
ci / rust (push) Successful in 54s
apple / swift (push) Successful in 1m19s
ci / docs-site (push) Failing after 42s
docker / deploy-docs (push) Successful in 6s
docker / build-push (docs-site, docs-site/Dockerfile, punktfunk-docs) (push) Successful in 3s
docker / build-push (ci, ci/rust-ci.Dockerfile, punktfunk-rust-ci) (push) Successful in 3s
docker / build-push (., web/Dockerfile, punktfunk-web) (push) Successful in 4s
release / apple (push) Failing after 2m34s
ci / web (push) Failing after 44s
ci / rust (push) Successful in 54s
apple / swift (push) Successful in 1m19s
ci / docs-site (push) Failing after 42s
docker / deploy-docs (push) Successful in 6s
docker / build-push (docs-site, docs-site/Dockerfile, punktfunk-docs) (push) Successful in 3s
docker / build-push (ci, ci/rust-ci.Dockerfile, punktfunk-rust-ci) (push) Successful in 3s
docker / build-push (., web/Dockerfile, punktfunk-web) (push) Successful in 4s
release / apple (push) Failing after 2m34s
exportArchive's signing lookup consults the default keychain; search list membership alone leaves the (valid) identity invisible to it. Restored to login.keychain in cleanup. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -91,6 +91,9 @@ jobs:
|
|||||||
security create-keychain -p "$KEYCHAIN_PASS" "$KEYCHAIN"
|
security create-keychain -p "$KEYCHAIN_PASS" "$KEYCHAIN"
|
||||||
security set-keychain-settings -lut 7200 "$KEYCHAIN"
|
security set-keychain-settings -lut 7200 "$KEYCHAIN"
|
||||||
security unlock-keychain -p "$KEYCHAIN_PASS" "$KEYCHAIN"
|
security unlock-keychain -p "$KEYCHAIN_PASS" "$KEYCHAIN"
|
||||||
|
# xcodebuild's signing lookup consults the DEFAULT keychain — being on the
|
||||||
|
# search list alone isn't enough (find-identity sees the cert, export doesn't).
|
||||||
|
security default-keychain -d user -s "$KEYCHAIN"
|
||||||
# Apple's intermediates — without the issuing CA in the chain the identity is
|
# Apple's intermediates — without the issuing CA in the chain the identity is
|
||||||
# "invalid" and xcodebuild reports "No signing certificate ... found" even
|
# "invalid" and xcodebuild reports "No signing certificate ... found" even
|
||||||
# though the cert imported fine (fresh boxes don't ship all WWDR/Developer ID
|
# though the cert imported fine (fresh boxes don't ship all WWDR/Developer ID
|
||||||
@@ -225,6 +228,7 @@ jobs:
|
|||||||
- name: Clean up keychain + API key
|
- name: Clean up keychain + API key
|
||||||
if: always()
|
if: always()
|
||||||
run: |
|
run: |
|
||||||
|
security default-keychain -d user -s login.keychain-db 2>/dev/null || true
|
||||||
[ -n "${KEYCHAIN:-}" ] && security delete-keychain "$KEYCHAIN" 2>/dev/null || true
|
[ -n "${KEYCHAIN:-}" ] && security delete-keychain "$KEYCHAIN" 2>/dev/null || true
|
||||||
security list-keychains -d user -s login.keychain-db
|
security list-keychains -d user -s login.keychain-db
|
||||||
rm -f "$RUNNER_TEMP/asc.p8"
|
rm -f "$RUNNER_TEMP/asc.p8"
|
||||||
|
|||||||
Reference in New Issue
Block a user