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.
pull/437/head
Nathaniel Balas 5 years ago committed by GitHub
parent d1255ad936
commit 150996106c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -150,7 +150,7 @@ We cache the elements of the Cabal store separately, as the entirety of `~/.caba
- name: Cache local Maven repository - name: Cache local Maven repository
uses: actions/cache@v2 uses: actions/cache@v2
with: with:
path: ~/.m2/repository path: ~/.m2
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: | restore-keys: |
${{ runner.os }}-maven- ${{ runner.os }}-maven-

Loading…
Cancel
Save