chore(build): Upgrade Maven Wrapper script to 3.3.4 and managed Maven… #45
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Maven | |
| on: | |
| push: | |
| branches: | |
| - '*' | |
| pull_request: | |
| branches: | |
| - '*' | |
| merge_group: | |
| types: | |
| - checks_requested | |
| permissions: | |
| contents: read | |
| jobs: | |
| build-and-test: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: | |
| - macos-latest | |
| - ubuntu-latest | |
| - windows-latest | |
| # Keep this list as: all supported LTS JDKs, the latest GA JDK, and optionally the latest EA JDK (if available). | |
| # Reference: https://adoptium.net/support/ | |
| java: | |
| - 11 | |
| - 17 | |
| - 21 | |
| - 25 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Set up JDK ${{ matrix.java }} | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: temurin | |
| java-version: ${{ matrix.java }} | |
| cache: maven | |
| - name: Build and Test with Maven | |
| run: ./mvnw --batch-mode --no-transfer-progress verify | |
| - name: Upload Test Reports | |
| uses: actions/upload-artifact@v7 | |
| if: failure() | |
| with: | |
| name: ${{ matrix.os }}-${{ matrix.java }}-test-reports | |
| path: | | |
| **/surefire-reports/* | |
| **/failsafe-reports/* |