Skip to content

Commit 93ebd19

Browse files
Update automation.yaml
1 parent 289b739 commit 93ebd19

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/automation.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
uses: actions/checkout@v4
3232
with:
3333
repository: BranchMetrics/android-branch-deep-linking-attribution
34-
ref: master # Assuming 'master' is the current release branch for the SDK
34+
ref: ${{ github.ref }} # Use the same branch that triggered the workflow
3535
path: ./branch-sdk-repo # Checkout into a subdirectory
3636

3737
# --- Step 2: Build the Branch SDK AAR ---
@@ -93,11 +93,12 @@ jobs:
9393
# ./app-repo/app/build/outputs/apk/debug/app-debug.apk
9494
# ./app-repo/app/build/reports/
9595
# ./app-repo/some_other_file.log
96-
steps:
96+
- name: Make script executable
97+
run: chmod +x gptdriverrunscript.sh
9798
- name: Run GPTDriver tests
9899
run: |
99100
ls -alR
100-
sh ./gptdriverrunscript.sh ./app-repo/app/build/outputs/apk/debug/app-debug.apk android
101+
sh gptdriverrunscript.sh ./app-repo/app/build/outputs/apk/debug/app-debug.apk android
101102
env:
102103
API_ORG_KEY: ${{ secrets.MOBILEBOOST_API_ORG_KEY }}
103104
API_KEY: ${{ secrets.MOBILEBOOST_API_ORG_KEY }}

0 commit comments

Comments
 (0)