diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a89816d..4653d0f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,16 +23,10 @@ jobs: with: distribution: temurin java-version: ${{ matrix.java }} - - name: Cache local Maven repository - uses: actions/cache@v4 - with: - path: ~/.m2/repository - key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} - restore-keys: | - ${{ runner.os }}-maven- + cache: maven - name: Build with Maven using JDK ${{ matrix.java }} - run: mvn --batch-mode --no-transfer-progress verify - - name: Archive Failsafe Reports + run: ./mvnw --batch-mode --no-transfer-progress verify + - name: Upload Failsafe Reports if: failure() uses: actions/upload-artifact@v4 with: