Refresh CI key partition access before build
Some checks failed
TestFlight / testflight (push) Failing after 27s
Some checks failed
TestFlight / testflight (push) Failing after 27s
This commit is contained in:
@@ -86,6 +86,9 @@ platform :ios do
|
|||||||
next unless ENV["CI"]
|
next unless ENV["CI"]
|
||||||
|
|
||||||
keychain_path = ENV.fetch("MATCH_KEYCHAIN_NAME")
|
keychain_path = ENV.fetch("MATCH_KEYCHAIN_NAME")
|
||||||
|
sh("security unlock-keychain -p #{ENV.fetch("MATCH_KEYCHAIN_PASSWORD").shellescape} #{keychain_path.shellescape}", log: false)
|
||||||
|
sh("security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k #{ENV.fetch("MATCH_KEYCHAIN_PASSWORD").shellescape} #{keychain_path.shellescape}", log: false)
|
||||||
|
|
||||||
identities = sh("security find-identity -v -p codesigning #{keychain_path.shellescape}", log: false)
|
identities = sh("security find-identity -v -p codesigning #{keychain_path.shellescape}", log: false)
|
||||||
UI.message(identities)
|
UI.message(identities)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user