build: Use dedicated Gradle cache action

This commit is contained in:
oSumAtrIX 2023-11-22 00:45:43 +01:00
parent f35c8d4446
commit 0c0e22013b
No known key found for this signature in database
GPG key ID: A9B3094ACDB604B4

View file

@ -24,16 +24,15 @@ jobs:
persist-credentials: false
fetch-depth: 0
- name: Cache
- name: Cache Node modules
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
.gradle
build
node_modules
key: gradle-npm-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties', 'package-lock.json') }}
key: npm-${{ hashFiles('package-lock.json') }}
- name: Cache Gradle
uses: burrunan/gradle-cache-action@v1
- name: Build with Gradle
env: