Skip to content

Commit 76ce3ea

Browse files
committed
Extended Github workflow to cache maven dependencies
1 parent 5ded6c1 commit 76ce3ea

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/maven.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ jobs:
1818
uses: actions/setup-java@v1
1919
with:
2020
java-version: 10
21+
- name: Cache Maven dependencies
22+
uses: actions/cache@v2
23+
with:
24+
path: ~/.m2
25+
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
26+
restore-keys: ${{ runner.os }}-m2
2127
- name: Build with Maven
2228
run: >
2329
mvn -B verify -P integration-tests

0 commit comments

Comments
 (0)