ios: handle empty ci keychain list
Some checks failed
TestFlight Release / testflight (push) Failing after 15s
Some checks failed
TestFlight Release / testflight (push) Failing after 15s
This commit is contained in:
@@ -140,7 +140,11 @@ jobs:
|
|||||||
-T /usr/bin/xcodebuild \
|
-T /usr/bin/xcodebuild \
|
||||||
-T "${developer_dir}/usr/bin/xcodebuild"
|
-T "${developer_dir}/usr/bin/xcodebuild"
|
||||||
security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k "${keychain_password}" "${keychain_path}"
|
security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k "${keychain_password}" "${keychain_path}"
|
||||||
|
if [[ "${#base_keychains[@]}" -gt 0 ]]; then
|
||||||
security list-keychains -d user -s "${keychain_path}" "${base_keychains[@]}"
|
security list-keychains -d user -s "${keychain_path}" "${base_keychains[@]}"
|
||||||
|
else
|
||||||
|
security list-keychains -d user -s "${keychain_path}"
|
||||||
|
fi
|
||||||
security default-keychain -d user -s "${keychain_path}"
|
security default-keychain -d user -s "${keychain_path}"
|
||||||
security find-identity -v -p codesigning "${keychain_path}"
|
security find-identity -v -p codesigning "${keychain_path}"
|
||||||
security find-identity -v -p codesigning
|
security find-identity -v -p codesigning
|
||||||
|
|||||||
Reference in New Issue
Block a user