ci: add caching for Gradle build outputs
This commit is contained in:
parent
204b205b44
commit
455ebdbe91
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
Reference in a new issue