Skip to content

Commit

Permalink
Cache ~/.m2 dir for GitHub builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gary Gregory committed Aug 11, 2020
1 parent 2df37b0 commit 97628ae
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/maven.yml
Expand Up @@ -34,6 +34,12 @@ jobs:

steps:
- uses: actions/checkout@v2.3.2
- uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v1.4.0
with:
Expand Down

0 comments on commit 97628ae

Please sign in to comment.