Remove version override so that we can internally publish snapshots f… #1084
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: ci | |
| on: [ push, pull_request ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| java: [ 17, 21, 25 ] | |
| name: jdk-${{ matrix.java }} | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-java@v3 | |
| with: | |
| distribution: "temurin" | |
| # The JDK listed last will be the default and what Maven runs with | |
| # https://github.com/marketplace/actions/setup-java-jdk#install-multiple-jdks | |
| java-version: | | |
| ${{ matrix.java }} | |
| 25 | |
| cache: "maven" | |
| - name: "Build" | |
| run: | | |
| mvn \ | |
| --batch-mode \ | |
| -no-transfer-progress \ | |
| -V \ | |
| -Dproject.build.jdk.version=${{ matrix.java }} \ | |
| verify | |
| env: | |
| JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED |