Detect runner login keychain path
Some checks failed
TestFlight / testflight (push) Failing after 19s

This commit is contained in:
2026-06-25 23:20:06 -07:00
parent 585be09eb7
commit 3262f4ff80

View File

@@ -32,10 +32,8 @@ def release_version
end end
def ci_login_keychain_path def ci_login_keychain_path
[ keychains = sh("security list-keychains -d user", log: false).shellsplit
File.expand_path("~/Library/Keychains/login.keychain-db"), keychains.find { |path| File.basename(path).start_with?("login.keychain") } || keychains.first || "login.keychain"
File.expand_path("~/Library/Keychains/login.keychain")
].find { |path| File.file?(path) } || "login.keychain"
end end
platform :ios do platform :ios do