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
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user