Skip to content

Commit c70eb84

Browse files
authored
Re-add caching
1 parent d7529be commit c70eb84

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/ci-tests.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,14 @@ jobs:
4040
with:
4141
java-version: "8.0.282"
4242

43-
# - name: Cache Gradle packages
44-
# uses: actions/cache@v2
45-
# with:
46-
# path: ~/.gradle/caches
47-
# key: ${{ runner.os }}-gradle
48-
# restore-keys: ${{ runner.os }}-gradle
43+
- name: Cache Gradle packages
44+
uses: actions/cache@v2
45+
with:
46+
path: |
47+
~/.gradle/caches
48+
~/.gradle/wrapper
49+
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
50+
restore-keys: ${{ runner.os }}-gradle-
4951

5052
- name: Grant execute permission for gradlew
5153
run: chmod +x gradlew

0 commit comments

Comments
 (0)