ci: update Gradle caching in workflow configuration
All checks were successful
Quality Check / Tests (pull_request) Successful in 34s
Quality Check / Checkstyle Main (pull_request) Successful in 44s

This commit is contained in:
Jan Gleytenhoover 2024-09-25 10:52:46 +02:00
parent 13bb137de7
commit 0f85e24fdf
Signed by: jank
GPG Key ID: B267751B8AE29EFE

@ -15,18 +15,13 @@ jobs:
- uses: actions/cache@v3
with:
path: |
$HOME/.m2/repository
~/.m2/repository
./.gradle
./app/build
./build
./release
key: gradle-${{ runner.os }}
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
gradle-${{ runner.os }}
gradle-
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
${{ runner.os }}-gradle-
- name: "Prepare Gradle"
run: gradle clean
- name: "Check"
run: gradle testClasses
- name: "Stop Gradle"
@ -42,18 +37,13 @@ jobs:
- uses: actions/cache@v3
with:
path: |
$HOME/.m2/repository
~/.m2/repository
./.gradle
./app/build
./build
./release
key: gradle-${{ runner.os }}
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
gradle-${{ runner.os }}
gradle-
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
${{ runner.os }}-gradle-
- name: "Prepare Gradle"
run: gradle clean
- name: "Check"
run: gradle check
- name: "Stop Gradle"