build: revert build on Java 25 #4135
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: Full Build | |
| on: [push] | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macos-latest] | |
| java-version: [21] | |
| include: | |
| - os: ubuntu-latest | |
| java-version: 24 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Set up JDK ${{ matrix.java-version }} | |
| uses: actions/setup-java@v5 | |
| with: | |
| java-version: ${{ matrix.java-version }} | |
| distribution: 'temurin' | |
| cache: maven | |
| - name: Build | |
| run: mvn -B package -P gradlePlugin | |
| env: | |
| BUILD_PORT: 0 | |
| BUILD_SECURE_PORT: 0 | |
| BUILD_LOG_LEVEL: 'ERROR' | |
| - name: Publish Test Results | |
| uses: dorny/test-reporter@v1 | |
| if: always() | |
| with: | |
| name: JUnit Results (${{ matrix.os }} - Java ${{ matrix.java-version }}) | |
| path: target/surefire-reports/*.xml | |
| reporter: java-junit |