ci: add caching for Gradle build outputs
This commit is contained in:
parent
204b205b44
commit
455ebdbe91
@ -26,6 +26,13 @@ jobs:
|
|||||||
key: gradle-${{ runner.os }}-common
|
key: gradle-${{ runner.os }}-common
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
gradle-${{ runner.os }}-
|
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"
|
- name: "Prepare Gradle"
|
||||||
working-directory: ./backend
|
working-directory: ./backend
|
||||||
run: gradle clean
|
run: gradle clean
|
||||||
|
Loading…
x
Reference in New Issue
Block a user