Skip to content

Commit

Permalink
AVRO-3467: Try to build with JDK 18 (stable) and 19 (early access) (a…
Browse files Browse the repository at this point in the history
…pache#1619)

* AVRO-3467: Try to build with JDK 18 (stable) and 19 (early access)

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>

* AVRO-3467: Use Oracle JDK for 18/19

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
  • Loading branch information
martin-g authored Mar 24, 2022
1 parent fcc4e2d commit c2acf46
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/test-lang-java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ jobs:
- '8'
- '11'
- '17'
- '18-ea'
- '18'
- '19'
steps:
- uses: actions/checkout@v2

Expand All @@ -55,12 +56,21 @@ jobs:
restore-keys: |
${{ runner.os }}-maven-
- name: Setup Java
- name: Setup Temurin JDK
if: matrix.java == '8' || matrix.java == '11' || matrix.java == '17'
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}

- name: Setup Oracle JDK
if: matrix.java == '18' || matrix.java == '19'
uses: oracle-actions/setup-java@v1
with:
website: jdk.java.net
release: ${{ matrix.java }}
version: latest

- name: Lint
run: ./build.sh lint

Expand Down

0 comments on commit c2acf46

Please sign in to comment.