From 8c8bf518a257288f8314d6790c6753524caa442e Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Fri, 15 Oct 2021 13:31:43 +1000 Subject: [PATCH] use shared actions Signed-off-by: Olivier Lamy --- .github/workflows/maven.yml | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 2ea5498e..81986f98 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -21,26 +21,7 @@ on: [push, pull_request] jobs: build: + name: Build it + uses: codehaus-plexus/.github/.github/workflows/maven.yml@v0.0.1 - strategy: - matrix: - os: [ubuntu-latest, windows-latest, macOS-latest] - java: [8, 11, 16, 17-ea] - jdk: [temurin, zulu, adopt-openj9] - fail-fast: false - runs-on: ${{ matrix.os }} - - steps: - - name: Checkout - uses: actions/checkout@v2.3.4 - - - name: Set up JDK - uses: actions/setup-java@v2.3.1 - with: - cache: 'maven' - distribution: ${{ matrix.jdk }} - java-version: ${{ matrix.java }} - - - name: Build with Maven - run: mvn verify javadoc:javadoc -e -B -V