ci: add caching for Gradle build outputs

This commit is contained in:
Jan Gleytenhoover 2025-02-19 09:36:57 +01:00
parent 204b205b44
commit 455ebdbe91
Signed by: jank
GPG key ID: 22BEAC760B3333D6

View file

@ -26,6 +26,13 @@ jobs:
key: gradle-${{ runner.os }}-common
restore-keys: |
gradle-${{ runner.os }}-
- name: "Cache Gradle build outputs"
uses: actions/cache@v3
with:
path: backend/build
key: gradle-build-${{ runner.os }}-common
restore-keys: |
gradle-build-${{ runner.os }}-
- name: "Prepare Gradle"
working-directory: ./backend
run: gradle clean