Skip to content

Commit

Permalink
Update builds to cover JDK 17 and JDK 21
Browse files Browse the repository at this point in the history
  • Loading branch information
mswatosh committed Jan 26, 2024
1 parent 56000aa commit 394945a
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/ci-pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,18 @@ permissions:
jobs:
build:

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

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Set up JDK 21 #${{ matrix.java-version }}
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # v3.13.0
with:
java-version: 21 #${{ matrix.java-version }}
java-version: ${{ matrix.java-version }}
distribution: 'temurin'
cache: maven
- name: Build API
Expand Down

0 comments on commit 394945a

Please sign in to comment.