Detect runner login keychain path
Some checks failed
TestFlight / testflight (push) Failing after 19s
Some checks failed
TestFlight / testflight (push) Failing after 19s
This commit is contained in:
@@ -32,10 +32,8 @@ def release_version
|
||||
end
|
||||
|
||||
def ci_login_keychain_path
|
||||
[
|
||||
File.expand_path("~/Library/Keychains/login.keychain-db"),
|
||||
File.expand_path("~/Library/Keychains/login.keychain")
|
||||
].find { |path| File.file?(path) } || "login.keychain"
|
||||
keychains = sh("security list-keychains -d user", log: false).shellsplit
|
||||
keychains.find { |path| File.basename(path).start_with?("login.keychain") } || keychains.first || "login.keychain"
|
||||
end
|
||||
|
||||
platform :ios do
|
||||
|
||||
Reference in New Issue
Block a user