Skip to content

Commit

Permalink
AVD caching + job matrix seems to create issues
Browse files Browse the repository at this point in the history
  • Loading branch information
amberin authored Apr 24, 2024
1 parent b8fcb77 commit 1f5813b
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,29 +42,6 @@ jobs:
key: avd-${{ matrix.api-level }}
save-always: true

- name: create AVD and generate snapshot for caching
if: steps.avd-cache.outputs.cache-hit != 'true'
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: ${{ matrix.api-level }}
target: google_apis
arch: x86_64
force-avd-creation: false
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none -metrics-collection
disable-animations: true
disable-spellchecker: true
profile: Nexus 6
script: ./gradlew assemblePremiumDebug --no-watch-fs --build-cache

- name: Save AVD to cache
if: steps.avd-cache.outputs.cache-hit != 'true'
uses: actions/cache/save@v4
with:
path: |
~/.android/avd/*
~/.android/adb*
key: avd-${{ matrix.api-level }}

- name: Add Dropbox API credentials
shell: bash
run: |
Expand Down

0 comments on commit 1f5813b

Please sign in to comment.