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 c23608a
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,10 @@ 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
cache: 'gradle'
- name: Show version string
run: gradle -q printVersion | head -n1
- name: Build and Test
Expand Down

0 comments on commit c23608a

Please sign in to comment.