ci: add cache step

This commit is contained in:
oSumAtrIX 2023-06-12 02:33:13 +02:00
parent 5f1843771e
commit 16bb1a60fc
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4
1 changed files with 10 additions and 0 deletions

View File

@ -23,6 +23,16 @@ jobs:
# https://github.com/cycjimmy/semantic-release-action#private-packages
persist-credentials: false
fetch-depth: 0
- name: Cache
uses: actions/cache@v3
with:
path: |
${{ runner.home }}/.gradle/caches
${{ runner.home }}/.gradle/wrapper
.gradle
build
node_modules
key: ${{ runner.os }}-gradle-npm-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties', 'package-lock.json') }}
- name: Build with Gradle
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}