From cc6e91de9e4678b6373b3a9b538913235a7a9d80 Mon Sep 17 00:00:00 2001 From: "Sean C. Sullivan" Date: Sat, 6 Nov 2021 11:43:44 -0700 Subject: [PATCH] use setup-java cache --- .github/workflows/maven.yml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index b94c6566..4f13ad32 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -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