mirror of
https://github.com/actions/cache.git
synced 2025-03-13 11:47:00 +00:00
Update examples for Java - Maven
When using the path `~/.m2/repositories` the cache action will never cache the maven packages. When changed to the new value we see valid caching happening.
This commit is contained in:
parent
d1255ad936
commit
150996106c
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ We cache the elements of the Cabal store separately, as the entirety of `~/.caba
|
|||
- name: Cache local Maven repository
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.m2/repository
|
||||
path: ~/.m2
|
||||
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-maven-
|
||||
|
|
Loading…
Add table
Reference in a new issue