Skip to content

Commit 6fc8a3f

Browse files
author
Sunita Prajapati
committed
fix(ci): resolve Android SDK read-only issue in E2E workflows
1 parent a58894a commit 6fc8a3f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/e2e-mobile-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
# Add these new steps to handle the read-only SDK issue
5454
- name: Find Android SDK path
5555
run: |
56-
SDK_PATH=$(find /nix/store -name "android-sdk" -type d | head -1)/libexec/android-sdk
56+
SDK_PATH=$(find /nix/store -name "android-sdk" -type d | grep libexec | head -1)
5757
echo "ANDROID_SDK_PATH=$SDK_PATH" >> $GITHUB_ENV
5858
5959
- name: Copy Android SDK to writable location
@@ -126,7 +126,7 @@ jobs:
126126
# Add these new steps to handle the read-only SDK issue
127127
- name: Find Android SDK path
128128
run: |
129-
SDK_PATH=$(find /nix/store -name "android-sdk" -type d | head -1)/libexec/android-sdk
129+
SDK_PATH=$(find /nix/store -name "android-sdk" -type d | grep libexec | head -1)
130130
echo "ANDROID_SDK_PATH=$SDK_PATH" >> $GITHUB_ENV
131131
132132
- name: Copy Android SDK to writable location

0 commit comments

Comments
 (0)