Skip to content

Commit

Permalink
per job cache
Browse files Browse the repository at this point in the history
  • Loading branch information
gionn committed Oct 30, 2023
1 parent 79c9182 commit b97591a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/actions/setup-java-build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,10 @@ runs:
uses: actions/cache@v3
with:
path: ~/.m2/build-cache
key: ${{ runner.os }}-buildcache-${{ hashFiles('.mvn/*.xml') }}-${{ github.ref_name }}-${{ github.run_id }}
key: ${{ runner.os }}-buildcache-${{ hashFiles('.mvn/*.xml') }}-${{ github.job }}-${{ github.ref_name }}-${{ github.run_id }}
restore-keys: |
${{ runner.os }}-buildcache-${{ hashFiles('.mvn/*.xml') }}-${{ github.ref_name }}-
${{ runner.os }}-buildcache-${{ hashFiles('.mvn/*.xml') }}-${{ github.job }}-${{ github.ref_name }}-
${{ runner.os }}-buildcache-${{ hashFiles('.mvn/*.xml') }}-${{ github.job }}-
${{ runner.os }}-buildcache-${{ hashFiles('.mvn/*.xml') }}-
${{ runner.os }}-buildcache-
Expand Down

0 comments on commit b97591a

Please sign in to comment.