Skip to content

Commit

Permalink
use built-in gradle caching in setup-java action
Browse files Browse the repository at this point in the history
  • Loading branch information
abyrd committed Mar 15, 2023
1 parent 40c4d75 commit 074c511
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,11 @@ jobs:
fetch-depth: 0
# Java setup step completes very fast, no need to run in a preconfigured docker container.
- name: Set up JDK 11
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
java-version: 11
- uses: actions/cache@v1
id: cache
with:
path: ~/.gradle/caches
key: gradle-caches
distribution: temurin
cache: 'gradle'
- name: Show version string
run: gradle -q printVersion | head -n1
- name: Build and Test
Expand Down

0 comments on commit 074c511

Please sign in to comment.