Skip to content

Commit 9aa8485

Browse files
committed
update: pass app from env variable
1 parent e89132a commit 9aa8485

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/sanity-workflow.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@ jobs:
6262
run: |
6363
cd android
6464
npm install
65-
npm run sample-local-test -- --browserstack.app="./LocalSample.apk"
65+
npm run sample-local-test
66+
env:
67+
BROWSERSTACK_APP: ./LocalSample.apk
6668

6769
- name: Run sample ios tests
6870
run: |
@@ -74,7 +76,9 @@ jobs:
7476
run: |
7577
cd ios
7678
npm install
77-
npm run sample-local-test -- --browserstack.app="./LocalSample.ipa"
79+
npm run sample-local-test
80+
env:
81+
BROWSERSTACK_APP: ./LocalSample.ipa
7882

7983
- if: always()
8084
uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975

0 commit comments

Comments
 (0)