Skip to content

Commit

Permalink
Use cache from setup-java action
Browse files Browse the repository at this point in the history
  • Loading branch information
pop4959 committed Dec 29, 2023
1 parent 85c5a9f commit 3989211
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,7 @@ jobs:
with:
distribution: 'temurin'
java-version: '17'
- name: Cache dependencies
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
cache: 'gradle'
- name: Build
run: ./gradlew build
- name: Upload
Expand Down

0 comments on commit 3989211

Please sign in to comment.