Skip to content

Commit 30da76e

Browse files
mswatoshstarksm64
andauthored
Update builds to cover JDK 17 and JDK 21 (#201)
* Update builds to cover JDK 17 and JDK 21 * Reset matrix.java-version in ci workflow name --------- Co-authored-by: Scott M Stark <[email protected]>
1 parent 29ea0de commit 30da76e

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/ci-pull.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,18 @@ permissions:
1313
jobs:
1414
build:
1515

16-
# TODO Enable strategy for next Jakarta Release Cycle
17-
# strategy:
18-
# matrix:
19-
# java-version: [ '21', '25-ea' ]
16+
strategy:
17+
matrix:
18+
java-version: [ '17', '21' ]
2019

2120
runs-on: ubuntu-latest
2221

2322
steps:
2423
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
25-
- name: Set up JDK 21 #${{ matrix.java-version }}
24+
- name: Set up JDK ${{ matrix.java-version }}
2625
uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4.0.0
2726
with:
28-
java-version: 21 #${{ matrix.java-version }}
27+
java-version: ${{ matrix.java-version }}
2928
distribution: 'temurin'
3029
cache: maven
3130
- name: Build API

0 commit comments

Comments
 (0)