|
|
|
@@ -89,11 +89,17 @@ jobs:
|
|
|
|
|
|
|
|
|
|
|
|
printf '%s' "${APPSTORE_CERTIFICATES_FILE_BASE64}" | base64 --decode > ios/build/secrets/appstore-signing.p12
|
|
|
|
printf '%s' "${APPSTORE_CERTIFICATES_FILE_BASE64}" | base64 --decode > ios/build/secrets/appstore-signing.p12
|
|
|
|
printf '%s' "${APPSTORE_PROVISIONING_PROFILE_BASE64}" | base64 --decode > "${HOME}/Library/MobileDevice/Provisioning Profiles/Sybil_AppStore_CI.mobileprovision"
|
|
|
|
printf '%s' "${APPSTORE_PROVISIONING_PROFILE_BASE64}" | base64 --decode > "${HOME}/Library/MobileDevice/Provisioning Profiles/Sybil_AppStore_CI.mobileprovision"
|
|
|
|
|
|
|
|
curl -fsSL https://www.apple.com/certificateauthority/AppleWWDRCAG3.cer -o ios/build/secrets/AppleWWDRCAG3.cer
|
|
|
|
|
|
|
|
|
|
|
|
security create-keychain -p "${keychain_password}" "${keychain_path}"
|
|
|
|
security create-keychain -p "${keychain_password}" "${keychain_path}"
|
|
|
|
security set-keychain-settings -lut 21600 "${keychain_path}"
|
|
|
|
security set-keychain-settings -lut 21600 "${keychain_path}"
|
|
|
|
security unlock-keychain -p "${keychain_password}" "${keychain_path}"
|
|
|
|
security unlock-keychain -p "${keychain_password}" "${keychain_path}"
|
|
|
|
security list-keychains -d user -s "${keychain_path}" $(security list-keychains -d user | sed 's/[ "]//g')
|
|
|
|
security list-keychains -d user -s "${keychain_path}" $(security list-keychains -d user | sed 's/[ "]//g')
|
|
|
|
|
|
|
|
security import ios/build/secrets/AppleWWDRCAG3.cer \
|
|
|
|
|
|
|
|
-k "${keychain_path}" \
|
|
|
|
|
|
|
|
-T /usr/bin/codesign \
|
|
|
|
|
|
|
|
-T /usr/bin/security \
|
|
|
|
|
|
|
|
-T /usr/bin/xcodebuild
|
|
|
|
security import ios/build/secrets/appstore-signing.p12 \
|
|
|
|
security import ios/build/secrets/appstore-signing.p12 \
|
|
|
|
-k "${keychain_path}" \
|
|
|
|
-k "${keychain_path}" \
|
|
|
|
-P "${APPSTORE_CERTIFICATES_PASSWORD}" \
|
|
|
|
-P "${APPSTORE_CERTIFICATES_PASSWORD}" \
|
|
|
|
@@ -101,6 +107,8 @@ jobs:
|
|
|
|
-T /usr/bin/security \
|
|
|
|
-T /usr/bin/security \
|
|
|
|
-T /usr/bin/xcodebuild
|
|
|
|
-T /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}"
|
|
|
|
|
|
|
|
security find-identity -v -p codesigning "${keychain_path}"
|
|
|
|
|
|
|
|
echo "SYBIL_SIGNING_KEYCHAIN_PATH=${keychain_path}" >> "${GITHUB_ENV}"
|
|
|
|
|
|
|
|
|
|
|
|
- name: Build and upload to TestFlight
|
|
|
|
- name: Build and upload to TestFlight
|
|
|
|
working-directory: ios
|
|
|
|
working-directory: ios
|
|
|
|
|