use Java 17 for building, building with 11 failed #82
This file contains 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: Tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '17' | |
distribution: 'adopt' | |
cache: maven | |
- name: run maven with default build profile | |
run: mvn --batch-mode --update-snapshots verify | |
- name: run maven with build profile for oxygen 23 | |
run: mvn -Doxygen.version=23 --batch-mode --update-snapshots clean verify | |
- name: run maven with build profile for oxygen 24 | |
run: mvn -Doxygen.version=24 --batch-mode --update-snapshots clean verify | |
- name: run maven with build profile for oxygen 25 | |
run: mvn -Doxygen.version=25 --batch-mode --update-snapshots clean verify | |
- name: run maven with build profile for oxygen 26 | |
run: mvn -Doxygen.version=26 --batch-mode --update-snapshots clean verify |