From 71ca1c4bdff59325f369a1959097d954581aee6d Mon Sep 17 00:00:00 2001 From: Guillaume Nodet Date: Mon, 22 May 2023 14:10:13 +0200 Subject: [PATCH] Reuse plexus-pom action for CI --- .github/workflows/maven.yml | 25 ++++++++----------------- 1 file changed, 8 insertions(+), 17 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index fab1345..09feae4 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -16,25 +16,16 @@ # under the License. name: GitHub CI -on: - push: - pull_request: -jobs: +on: [push, pull_request] +jobs: build: name: Build it uses: codehaus-plexus/.github/.github/workflows/maven.yml@master - with: - jdk-fast-fail-build: '11' - jdk-matrix: '["11", "17", "18", "19-ea"]' - jdk-distribution-matrix: '["zulu", "temurin", "microsoft", "liberica","corretto"]' - os-matrix: '["ubuntu-latest","windows-latest", "macOS-latest"]' - matrix-exclude: '[ - { "jdk": "18", "distribution": "microsoft" }, - { "jdk": "19-ea", "distribution": "corretto" }, - { "jdk": "19-ea", "distribution": "liberica" }, - { "jdk": "19-ea", "distribution": "microsoft" }, - { "jdk": "19-ea", "distribution": "temurin" } - ]' - maven_args: 'install javadoc:javadoc -e -B -V -fae -Pno-tests-if-not-on-osx' + + deploy: + name: Deploy + needs: build + uses: codehaus-plexus/.github/.github/workflows/maven-deploy.yml@master + secrets: inherit