From 94d96d48df1c8042303daf1ff2ec9428b9f0a8ab Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Tue, 3 May 2022 10:13:24 +1000 Subject: [PATCH] use shared gh action from ASF Signed-off-by: Olivier Lamy --- .github/workflows/maven.yml | 32 +++----------------------------- 1 file changed, 3 insertions(+), 29 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 72aee8d9..94c4b2d8 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -17,36 +17,10 @@ name: GitHub CI + on: [push, pull_request] jobs: build: - - strategy: - matrix: - os: [ubuntu-latest, windows-latest, macOS-latest] - java: [8, 11, 14, 15-ea] - fail-fast: false - - runs-on: ${{ matrix.os }} - - steps: - - name: Checkout - uses: actions/checkout@v2 - - - name: Set up cache for ~./m2/repository - uses: actions/cache@v2 - 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@v1 - with: - java-version: ${{ matrix.java }} - - - name: Build with Maven - run: ./mvnw verify -e -B -V -P run-its + name: Verify + uses: apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml@v2