Fix caching of pipeline #34
@ -17,16 +17,15 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
distribution: "temurin"
|
distribution: "temurin"
|
||||||
java-version: "22"
|
java-version: "22"
|
||||||
|
- name: "Cache Gradle dependencies"
|
||||||
- uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
working-directory: ./backend
|
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.gradle/caches
|
~/.gradle/caches
|
||||||
~/.gradle/wrapper
|
~/.gradle/wrapper
|
||||||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
|
key: gradle-${{ runner.os }}-common
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-gradle-
|
gradle-${{ 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