Skip to content

Commit 088222b

Browse files
Properly cache gradle
1 parent 786611c commit 088222b

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.github/workflows/gradle.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,8 @@ jobs:
1616
with:
1717
java-version: 17
1818
distribution: 'temurin'
19-
- uses: actions/cache@v4
20-
with:
21-
path: |
22-
~/.gradle/caches
23-
~/.gradle/wrapper
24-
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
25-
restore-keys: |
26-
${{ runner.os }}-gradle-
19+
- name: Setup Gradle
20+
uses: gradle/actions/setup-gradle@v4
2721
- name: Build with Gradle
2822
run: ./gradlew build
2923
- name: Upload a Build Artifact

0 commit comments

Comments
 (0)