Skip to content

Commit

Permalink
use setup-java cache
Browse files Browse the repository at this point in the history
  • Loading branch information
sullis authored and slachiewicz committed Nov 6, 2021
1 parent 588067b commit cc6e91d
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/maven.yml
Expand Up @@ -34,20 +34,12 @@ jobs:
- name: Checkout
uses: actions/checkout@v2.3.5

- name: Set up cache for ~./m2/repository
uses: actions/cache@v2.1.6
with:
path: ~/.m2/repository
key: maven-${{ matrix.os }}-java${{ matrix.java }}-${{ hashFiles('**/pom.xml') }}
restore-keys: |
maven-${{ matrix.os }}-java${{ matrix.java }}-
maven-${{ matrix.os }}-
- name: Set up JDK
uses: actions/setup-java@v2.3.1
with:
java-version: ${{ matrix.java }}
distribution: temurin
cache: maven

- name: Build with Maven
run: ./mvnw verify -e -B -V -P run-its

0 comments on commit cc6e91d

Please sign in to comment.