ci: add cache
All checks were successful
Test and Deploy / build (17, ubuntu-latest) (push) Successful in 6m12s
Test and Deploy / deploy (17, ubuntu-latest) (push) Has been skipped
Test and Deploy / build (17, ubuntu-latest) (pull_request) Successful in 2m26s
Test and Deploy / deploy (17, ubuntu-latest) (pull_request) Has been skipped

This commit is contained in:
Quentin Legot 2024-08-20 18:42:39 +02:00
parent d6515d9cbb
commit 267bd3644c

View File

@ -33,6 +33,14 @@ jobs:
with:
java-version: ${{ matrix.java }}
distribution: 'oracle'
- uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: make gradle wrapper executable
if: ${{ runner.os != 'Windows' }}
run: |