|
@@ -17,6 +17,13 @@ jobs:
|
|
|
uses: actions/setup-java@v1
|
|
|
with:
|
|
|
java-version: 14
|
|
|
+ - name: Restore Maven Cache
|
|
|
+ uses: actions/cache@v1
|
|
|
+ with:
|
|
|
+ path: ~/.m2/repository
|
|
|
+ key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
|
|
|
+ restore-keys: |
|
|
|
+ ${{ runner.os }}-maven-
|
|
|
- name: Build with Maven
|
|
|
run: mvn -B package --file main/pom.xml -Pcoverage,release
|
|
|
- name: Run codacy-coverage-reporter
|