Skip to content

Commit

Permalink
fix avd home location
Browse files Browse the repository at this point in the history
  • Loading branch information
yasserfaraazkhan committed Feb 2, 2025
1 parent 7c272c3 commit bb14689
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/e2e-android-detox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,21 +67,22 @@ jobs:

detox-android-e2e:
runs-on: ubuntu-latest-8-cores
env:
ANDROID_HOME: /usr/local/lib/android/sdk
ANDROID_SDK_ROOT: /usr/local/lib/android/sdk
ANDROID_AVD_HOME: /home/runner/.android/avd
PATH: /usr/local/lib/android/sdk/platform-tools:/usr/local/lib/android/sdk/emulator:/usr/local/lib/android/sdk/cmdline-tools/latest/bin:$PATH

steps:
- name: ci/checkout-repo
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
ref: ${{ github.event.pull_request.head.sha }}

- name: Set up Android SDK paths
- name: Debug AVD Location
run: |
echo "/usr/local/lib/android/sdk/platform-tools" >> $GITHUB_PATH
echo "/usr/local/lib/android/sdk/emulator" >> $GITHUB_PATH
echo "/usr/local/lib/android/sdk/cmdline-tools/latest/bin" >> $GITHUB_PATH
echo "*********"
echo $GITHUB_PATH
echo "*********"
echo $PATH
ls -la $ANDROID_AVD_HOME
ls -la /home/runner/.android/avd
- name: Enable KVM
run: |
Expand Down

0 comments on commit bb14689

Please sign in to comment.