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