Skip to content

Commit

Permalink
Remove AVD caching
Browse files Browse the repository at this point in the history
  • Loading branch information
vyPal committed Nov 13, 2023
1 parent 11f93d4 commit aafbb0b
Showing 1 changed file with 1 addition and 24 deletions.
25 changes: 1 addition & 24 deletions .github/workflows/test-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
id: verify-changed-files
with:
files: |
.github/workflows/test-coverage.yml
pubspec.yaml
pubspec.lock
l10n.yaml
Expand All @@ -40,30 +41,6 @@ jobs:
with:
fetch-depth: 0

- name: Gradle cache
uses: gradle/gradle-build-action@v2

- name: AVD cache
uses: actions/cache@v3
id: avd-cache
with:
path: |
~/.android/avd/*
~/.android/adb*
key: avd-33

- 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: 31
arch: x86_64
profile: pixel_6_pro
force-avd-creation: false
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
disable-animations: false
script: echo "Generated AVD snapshot for caching."

- uses: actions/setup-java@v2
with:
distribution: 'zulu'
Expand Down

0 comments on commit aafbb0b

Please sign in to comment.