Skip to content

Commit

Permalink
add JDK 21 to GH action build
Browse files Browse the repository at this point in the history
Signed-off-by: Lukas Jungmann <[email protected]>
  • Loading branch information
lukasj committed May 11, 2023
1 parent 9f59af8 commit a445d30
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) 2021 Contributors to the Eclipse Foundation
# Copyright (c) 2021, 2023 Contributors to the Eclipse Foundation
#
# This program and the accompanying materials are made available under the
# terms of the Eclipse Public License v. 2.0 which is available at
Expand All @@ -16,6 +16,10 @@ on:
pull_request:
push:

concurrency:
group: ${{ github.ref }}
cancel-in-progress: true

jobs:
build:
name: Test on JDK ${{ matrix.java_version }}
Expand All @@ -25,14 +29,9 @@ jobs:

strategy:
matrix:
java_version: [ 11, 17 ]
java_version: [ 11, 17, 21-ea ]

steps:
- name: Cancel previous runs of this workflow
uses: styfle/[email protected]
with:
all_but_latest: true
access_token: ${{ github.token }}
- name: Checkout for build
uses: actions/checkout@v3
- name: Set up JDK
Expand Down

0 comments on commit a445d30

Please sign in to comment.