Skip to content

Commit

Permalink
Update ci.yml: remove JDK 11
Browse files Browse the repository at this point in the history
  • Loading branch information
cushon authored Sep 11, 2024
1 parent 4e0b19c commit a9ff9b1
Showing 1 changed file with 3 additions and 19 deletions.
22 changes: 3 additions & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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

Expand All @@ -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
Expand Down Expand Up @@ -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'
Expand Down

0 comments on commit a9ff9b1

Please sign in to comment.