Cache ~/.m2 dir for GitHub builds.
This commit is contained in:
6
.github/workflows/maven.yml
vendored
6
.github/workflows/maven.yml
vendored
@@ -32,6 +32,12 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2.3.1
|
- uses: actions/checkout@v2.3.1
|
||||||
|
- 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 }}
|
- name: Set up JDK ${{ matrix.java }}
|
||||||
uses: actions/setup-java@v1.4.0
|
uses: actions/setup-java@v1.4.0
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user