diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index b4302dc507..891c797d16 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -1148,19 +1148,21 @@ jobs: shell: bash - name: Install SDK Tools + env: + ANDROID_AVD_HOME: "/home/runner/.config/.android/avd" run: | sdkmanager 'platforms;android-34' 'system-images;android-VanillaIceCream;google_apis_ps16k;arm64-v8a' 'tools' - bash -c 'yes || true' | sdkmanager --licenses + echo yes | sdkmanager --licenses shell: bash - name: Create AVD image env: - ANDROID_AVD_HOME: "$ANDROID_SDK_ROOT/avd/" + ANDROID_AVD_HOME: "/home/runner/.config/.android/avd" run: | - echo no | avdmanager create avd --force -n test1 --abi 'arm64-v8a' --package 'system-images;android-VanillaIceCream;google_apis_ps16k;arm64-v8a' + echo no | avdmanager create avd --force -n test --abi 'arm64-v8a' --package 'system-images;android-VanillaIceCream;google_apis_ps16k;arm64-v8a' shell: bash - name: Setup tmate session env: - ANDROID_AVD_HOME: "$ANDROID_SDK_ROOT/avd/" + ANDROID_AVD_HOME: "/home/runner/.config/.android/avd" uses: mxschmitt/action-tmate@v3