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:
Nathaniel Balas 2020-10-19 17:23:47 +02:00 committed by GitHub
parent d1255ad936
commit 150996106c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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-