From 88f5a941f5b2c6ce5c60ba7b7d2c93a725206807 Mon Sep 17 00:00:00 2001 From: Sylwester Lachiewicz Date: Sat, 2 Dec 2023 10:42:35 +0100 Subject: [PATCH] Reuse plexus-pom action for CI --- .github/workflows/maven.yml | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index d51226f..09feae4 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -16,18 +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"]' - jdk-distribution-matrix: '["zulu", "temurin", "microsoft", "liberica"]' - os-matrix: '["ubuntu-latest","windows-latest", "macOS-latest"]' - maven_args: 'install javadoc:javadoc -e -B -V -fae ' + + deploy: + name: Deploy + needs: build + uses: codehaus-plexus/.github/.github/workflows/maven-deploy.yml@master + secrets: inherit