File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed
Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -136,10 +136,16 @@ jobs:
136136 # --- Step 9: Upload and run tests on GPTDriver service. ---
137137 - name : Run GPTDriver tests
138138 run : |
139- # Ensure the script is executable
140- chmod +x ./branch-ios-sdk-repo/.github/gptdriverrunscript.sh
141- # Execute the script, passing the .app path and platform
142- bash ./branch-ios-sdk-repo/.github/gptdriverrunscript.sh ./ios-app-repo/build/Debug-iphonesimulator/BranchLinkSimulator.app ios
139+ call=$(curl -i -X POST \
140+ -H "Content-Type: multipart/form-data" \
141+ -F "build=@./ios-app-repo/IPA/BranchLinkSimulator.ipa" \
142+ -F "organisation_key=${{ secrets.MOBILEBOOST_API_ORG_KEY }}" \
143+ -F "platform=ios" \
144+ -F "metadata={}" \
145+ https://api.mobileboost.io/uploadBuild/)
146+
147+ mobileboost_url=$(echo "$call" | grep -o '"app_link":"[^"]*"' | cut -d '"' -f 4)
148+ echo "${mobileboost_url}" >>$GITHUB_ENV
143149 env :
144150 API_ORG_KEY : ${{ secrets.MOBILEBOOST_API_ORG_KEY }}
145151 API_KEY : ${{ secrets.MOBILEBOOST_API_ORG_KEY }} # As per vendor design
You can’t perform that action at this time.
0 commit comments