diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7e013d3c287..bb49464245e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,7 @@ jobs: fail-fast: false matrix: os: [ ubuntu-latest ] - java: [ 21, 17, 11 ] + java: [ 21, 17 ] experimental: [ false ] # Only test on macos and windows with a single recent JDK to avoid a # combinatorial explosion of test configurations. @@ -52,12 +52,6 @@ jobs: access_token: ${{ github.token }} - name: 'Check out repository' uses: actions/checkout@v3 - - name: 'Set up JDK 11' - uses: actions/setup-java@v4 - with: - java-version: 11 - distribution: 'zulu' - cache: 'maven' - name: 'Set up JDK 17' uses: actions/setup-java@v4 with: @@ -90,13 +84,7 @@ jobs: - name: 'Test' shell: bash run: mvn test -B - - name: 'Test compatibility with JDK 11' - if: ${{ matrix.java == 17 }} - shell: bash - run: mvn test -B -Dsurefire.jdk-toolchain-version=11 - name: 'Javadoc' - # only generate javadoc on JDKs with the fix for https://bugs.openjdk.org/browse/JDK-8241780 - if: ${{ matrix.java >= 15 }} shell: bash run: mvn -P '!examples' javadoc:javadoc @@ -117,9 +105,7 @@ jobs: - name: 'Set up JDK 17' uses: actions/setup-java@v4 with: - java-version: | - 11 - 17 + java-version: 17 distribution: 'zulu' cache: 'maven' server-id: ossrh @@ -151,9 +137,7 @@ jobs: - name: 'Set up JDK 17' uses: actions/setup-java@v4 with: - java-version: | - 11 - 17 + java-version: 17 distribution: 'zulu' cache: 'maven' - name: 'Generate latest docs'