We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c5c8596 commit 71c44dcCopy full SHA for 71c44dc
1 file changed
.github/workflows/maven-build.yml
@@ -17,7 +17,12 @@ jobs:
17
uses: actions/setup-java@v1
18
with:
19
java-version: ${{ matrix.java }}
20
- - name: Maven Download all dependencies
21
- run: mvn -B org.apache.maven.plugins:maven-dependency-plugin:3.1.1:go-offline -D enable-ci
+ - name: Cached .m2
+ uses: actions/cache@v1
22
+ with:
23
+ path: ~/.m2/repository
24
+ key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
25
+ restore-keys: |
26
+ ${{ runner.os }}-maven-
27
- name: Maven Build
28
run: mvn -B install site -D enable-ci --file pom.xml
0 commit comments