Skip to content

Commit 3fd9d79

Browse files
committed
add java 21 build support
1 parent 8b650e8 commit 3fd9d79

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/build.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,18 @@ on:
1313

1414
jobs:
1515
build:
16-
1716
runs-on: ubuntu-latest
1817
strategy:
1918
matrix:
20-
java: [ '17' ]
19+
java: [ '17', '21' ]
2120
steps:
2221
- uses: actions/checkout@v3
2322

24-
- name: Set up JDK 11
23+
- name: Set up JDK ${{ matrix.java }}
2524
uses: actions/setup-java@v3
2625
with:
2726
java-version: ${{ matrix.java }}
28-
distribution: 'adopt'
27+
distribution: 'temurin'
2928
cache: maven
3029

3130
- name: Build with Maven

0 commit comments

Comments
 (0)