Skip to content
Permalink
Browse files
setup-java v2 cache feature
  • Loading branch information
sullis committed Sep 5, 2021
1 parent a9864f1 commit 39733646df7d358feb91ac13edcbd7c7b14944f3
Showing 1 changed file with 1 addition and 6 deletions.
@@ -32,16 +32,11 @@ jobs:

steps:
- uses: actions/checkout@v2.3.4
- uses: actions/cache@v2.1.6
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@v2
with:
distribution: adopt
java-version: ${{ matrix.java }}
cache: 'maven'
- name: Build with Maven
run: mvn -V -Ddoclint=all --file pom.xml --no-transfer-progress

0 comments on commit 3973364

Please sign in to comment.