Skip to content

Commit

Permalink
Add AVD cache
Browse files Browse the repository at this point in the history
  • Loading branch information
prabhanshuguptagit committed Apr 13, 2023
1 parent 4dae8bd commit 4e4c5b3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/android-qa-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,15 @@ jobs:
with:
path: android-app

- name: Cache AVD
uses: actions/cache@v3
id: avd-cache
with:
path: |
~/.android/avd/*
~/.android/adb*
key: ${{ runner.os }}-avd-${{ env.AVD_API_LEVEL }}-${{ env.AVD_ARCH }}

- name: create AVD and generate snapshot for caching
if: steps.avd-cache.outputs.cache-hit != 'true'
uses: reactivecircus/android-emulator-runner@v2
Expand Down

0 comments on commit 4e4c5b3

Please sign in to comment.