Fix caching of pipeline #34
@ -17,16 +17,15 @@ jobs:
|
||||
with:
|
||||
distribution: "temurin"
|
||||
java-version: "22"
|
||||
|
||||
- uses: actions/cache@v3
|
||||
working-directory: ./backend
|
||||
- name: "Cache Gradle dependencies"
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
~/.gradle/caches
|
||||
~/.gradle/wrapper
|
||||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
|
||||
key: gradle-${{ runner.os }}-common
|
||||
restore-keys: |
|
||||
${{ runner.os }}-gradle-
|
||||
gradle-${{ runner.os }}-
|
||||
- name: "Prepare Gradle"
|
||||
working-directory: ./backend
|
||||
run: gradle clean
|
||||
|
Loading…
x
Reference in New Issue
Block a user