Skip to content

Commit c659b00

Browse files
fix: use replace function
1 parent be82eda commit c659b00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/e2e-android.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ jobs:
101101
$ANDROID_HOME/platform-tools/adb install -r apps/${{ env.WORKING_DIRECTORY }}/android/app/build/outputs/apk/debug/app-debug.apk
102102
103103
# Launch the app using bash
104-
bash -c 'until $ANDROID_HOME/platform-tools/adb shell monkey -p com.${{ env.WORKING_DIRECTORY//-/}} 1 | grep -q "Events injected: 1"; do sleep 1; echo "Retrying app launch..."; done'
104+
bash -c 'until $ANDROID_HOME/platform-tools/adb shell monkey -p com.${{ replace(env.WORKING_DIRECTORY, '-', '') }} 1 | grep -q "Events injected: 1"; do sleep 1; echo "Retrying app launch..."; done'
105105
106106
# Run E2E tests
107107
yarn e2e

0 commit comments

Comments
 (0)