diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 62df714a..593fad18 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -16,19 +16,19 @@ # 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: '21' - jdk-matrix: '["11", "17", "21"]' jdk-distribution-matrix: '["zulu", "temurin", "microsoft", "liberica", "corretto"]' - os-matrix: '["ubuntu-latest","windows-latest", "macOS-latest"]' maven_args: 'verify 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