From c790701f62baf46e7721003067d77ed8e3df514a Mon Sep 17 00:00:00 2001 From: Slawomir Jaranowski Date: Mon, 4 Sep 2023 00:25:30 +0200 Subject: [PATCH] Use Maven Apache shared GitHub action --- .github/workflows/maven.yml | 29 ++--------------------------- 1 file changed, 2 insertions(+), 27 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index e68f3fe6..b22fbd6d 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -21,30 +21,5 @@ on: [push, pull_request] jobs: build: - - strategy: - matrix: - os: [ubuntu-latest] - java: [8, 11, 17, 20] - jdk: [temurin] - include: - - java: 11 - os: windows-latest - jdk: temurin - - java: 11 - os: macos-latest - jdk: temurin - fail-fast: false - - runs-on: ${{ matrix.os }} - - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-java@v3 - with: - distribution: ${{ matrix.jdk }} - java-version: ${{ matrix.java }} - cache: 'maven' - - - name: Build with Maven - run: mvn clean verify -e -B -V javadoc:javadoc site site:stage + name: Verify + uses: apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml@v3