Skip to content

Commit

Permalink
Enabled caching for AITs and changed the cache keys for jvm tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Raibaz committed Apr 7, 2021
1 parent a855dd0 commit 4ac398f
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/gradle.yml
Expand Up @@ -27,7 +27,7 @@ jobs:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-${{ matrix.java-version }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
key: ${{ runner.os }}-${{ matrix.java-version }}-${{ matrix.kotlin-version }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-${{ matrix.java-version }}-gradle-
- name: Set up JDK ${{ matrix.java-version }}
Expand All @@ -47,7 +47,14 @@ jobs:
api-level: [ 28, 29 ]
steps:
- uses: actions/checkout@v2
# - uses: actions/cache@v2
- uses: actions/cache@v2
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-${{ matrix.api-level }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-${{ matrix.api-level }}-gradle-
- name: run tests
uses: reactivecircus/android-emulator-runner@v2
with:
Expand Down

0 comments on commit 4ac398f

Please sign in to comment.