Skip to content

Commit

Permalink
move some things around
Browse files Browse the repository at this point in the history
  • Loading branch information
aarsilv committed Apr 5, 2024
1 parent 9445892 commit ed70190
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,8 @@ jobs:
java-version: '11'
distribution: 'adopt'

- name: Gradle cache
uses: gradle/actions/setup-gradle@v3

- name: AVD cache
uses: actions/cache@v4
id: avd-cache
with:
path: |
~/.android/avd/*
~/.android/adb*
key: avd-33
- name: 'Set up GCP SDK'
uses: 'google-github-actions/setup-gcloud@v0'

- name: Restore gradle.properties
env:
Expand Down Expand Up @@ -69,6 +60,18 @@ jobs:
echo "Failed to resolve after 15 seconds"
exit 1
- name: Gradle cache
uses: gradle/actions/setup-gradle@v3

- name: AVD cache
uses: actions/cache@v4
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
Expand Down

0 comments on commit ed70190

Please sign in to comment.