Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add JDK 21 and 23 builds #18

Merged
merged 1 commit into from
Jul 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,28 @@ jobs:
matrix:
# os: [macos-latest, ubuntu-latest, windows-latest]
os: [ubuntu-latest]
java-version: [17]
java-version: [17, 21, 23]

runs-on: ${{ matrix.os }}

steps:
- name: Git Checkout
uses: actions/checkout@v2
- name: Set JDK ${{ matrix.java-version }}
- name: Set JDK ${{ matrix.java-version }} from jdk.java.net
uses: oracle-actions/setup-java@v1
id: download-jdk
with:
website: jdk.java.net
release: ${{ matrix.java-version }}
if: ${{matrix.java-version != 17 && matrix.java-version != 21}}
- name: Set JDK ${{ matrix.java-version }} from Zulu
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: ${{ matrix.java-version }}
if: ${{matrix.java-version == 17 || matrix.java-version == 21}}
- name: JDK Version
run: java --version
- name: Enable Maven Cache
uses: actions/cache@v2
with:
Expand Down
Loading