diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index f8f8de0..09feae4 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -17,26 +17,15 @@ name: GitHub CI -on: [ push, pull_request ] +on: [push, pull_request] jobs: build: + name: Build it + uses: codehaus-plexus/.github/.github/workflows/maven.yml@master - strategy: - matrix: - os: [ ubuntu-latest,windows-latest, macOS-latest ] - java: [ 8, 11, 17 ] - fail-fast: false - - runs-on: ${{ matrix.os }} - - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-java@v3 - with: - distribution: adopt - java-version: ${{ matrix.java }} - cache: 'maven' - - - name: Build with Maven - run: mvn --batch-mode --errors --show-version verify site + deploy: + name: Deploy + needs: build + uses: codehaus-plexus/.github/.github/workflows/maven-deploy.yml@master + secrets: inherit