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
garydgregory committed Aug 11, 2020
1 parent 3e05465 commit afb6e6a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit afb6e6a

Please sign in to comment.