chore: fix caching in pipeline
This commit is contained in:
parent
ad68c4c541
commit
c67b964d5e
2 changed files with 8 additions and 8 deletions
|
@ -129,9 +129,9 @@ jobs:
|
||||||
uses: https://github.com/actions/cache@v4
|
uses: https://github.com/actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/.sdkman
|
path: ~/.sdkman
|
||||||
key: ${{ runner.os }}-sdkman
|
key: ${{ runner.os }}-sdkman-${{ hashFiles('**/.sdkmanrc') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-sdkman
|
${{ runner.os }}-sdkman-
|
||||||
env:
|
env:
|
||||||
ACTIONS_STEP_DEBUG: true
|
ACTIONS_STEP_DEBUG: true
|
||||||
|
|
||||||
|
@ -139,9 +139,9 @@ jobs:
|
||||||
uses: https://github.com/actions/cache@v4
|
uses: https://github.com/actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/.m2/repository
|
path: ~/.m2/repository
|
||||||
key: ${{ runner.os }}-maven
|
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-maven
|
${{ runner.os }}-maven-
|
||||||
env:
|
env:
|
||||||
ACTIONS_STEP_DEBUG: true
|
ACTIONS_STEP_DEBUG: true
|
||||||
|
|
||||||
|
|
|
@ -108,9 +108,9 @@ jobs:
|
||||||
uses: https://github.com/actions/cache@v4
|
uses: https://github.com/actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/.sdkman
|
path: ~/.sdkman
|
||||||
key: ${{ runner.os }}-sdkman
|
key: ${{ runner.os }}-sdkman-${{ hashFiles('**/.sdkmanrc') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-sdkman
|
${{ runner.os }}-sdkman-
|
||||||
env:
|
env:
|
||||||
ACTIONS_STEP_DEBUG: true
|
ACTIONS_STEP_DEBUG: true
|
||||||
|
|
||||||
|
@ -125,9 +125,9 @@ jobs:
|
||||||
uses: https://github.com/actions/cache@v4
|
uses: https://github.com/actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/.m2/repository
|
path: ~/.m2/repository
|
||||||
key: ${{ runner.os }}-maven
|
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-maven
|
${{ runner.os }}-maven-
|
||||||
env:
|
env:
|
||||||
ACTIONS_STEP_DEBUG: true
|
ACTIONS_STEP_DEBUG: true
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue