Merge pull request 'Fix caching of pipeline' (!34) from fix/improve-checkstyle-pipeline into main
Reviewed-on: https://git.simonis.lol/projects/casino/pulls/34 Reviewed-by: Hop In, I Have Puppies AND WiFi <jleibl@noreply@simonis.lol> Reviewed-by: Huy <ptran@noreply@simonis.lol>
This commit is contained in:
commit
c75c62b396
1 changed files with 4 additions and 5 deletions
|
@ -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
|
||||
|
|
Reference in a new issue