Skip to content

Commit 76aa7e5

Browse files
committed
Update gpt-driver-tests.yml
1 parent 1d70cb6 commit 76aa7e5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/gpt-driver-tests.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,14 +78,17 @@ jobs:
7878
env:
7979
BUILD_CERTIFICATE_BASE64: ${{ secrets.BS_BUILD_CERTIFICATE }}
8080
P12_PASSWORD: ${{ secrets.BS_P12_PASSWORD }}
81+
BUILD_PROVISION_PROFILE_BASE64: ${{ secrets.BS_BUILD_PROVISION_PROFILE_BASE64 }}
8182
KEYCHAIN_PASSWORD: ${{ secrets.KEYCHAIN_PASSWORD }}
8283
run: |
8384
# create variables
8485
CERTIFICATE_PATH=$RUNNER_TEMP/build_certificate.p12
8586
KEYCHAIN_PATH=$RUNNER_TEMP/app-signing.keychain-db
87+
PP_PATH=$RUNNER_TEMP/build_pp.mobileprovision
8688
8789
# import certificate
8890
echo -n "$BUILD_CERTIFICATE_BASE64" | base64 --decode -o $CERTIFICATE_PATH
91+
echo -n "$BUILD_PROVISION_PROFILE_BASE64" | base64 --decode -o $PP_PATH
8992
9093
# create temporary keychain
9194
security create-keychain -p "$KEYCHAIN_PASSWORD" $KEYCHAIN_PATH
@@ -95,6 +98,10 @@ jobs:
9598
# import certificate to keychain
9699
security import $CERTIFICATE_PATH -P "$P12_PASSWORD" -A -t cert -f pkcs12 -k $KEYCHAIN_PATH
97100
security list-keychain -d user -s $KEYCHAIN_PATH
101+
102+
# apply provisioning profile
103+
mkdir -p ~/Library/MobileDevice/Provisioning\ Profiles
104+
cp $PP_PATH ~/Library/MobileDevice/Provisioning\ Profiles
98105
99106
# --- Step 6: Build the iOS Branch Link Simulator App using the local SDK Framework ---
100107
- name: Build iOS App with local SDK

0 commit comments

Comments
 (0)