Cache ~/.m2 dir for GitHub builds.

This commit is contained in:
Gary Gregory 2020-08-10 21:13:58 -04:00
parent 9b8187cb42
commit e0e80b48b2
1 changed files with 6 additions and 0 deletions

View File

@ -32,6 +32,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: