Skip to content

Commit

Permalink
Jdk14 for OpenSearch 1.3 support (#6)
Browse files Browse the repository at this point in the history
* Add jdk 14 to CI

Signed-off-by: Stephen Crawford <[email protected]>
Signed-off-by: Stephen Crawford <[email protected]>
  • Loading branch information
stephen-crawford authored Dec 5, 2022
1 parent 0c5be45 commit 539730f
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,26 @@ jobs:
strategy:
fail-fast: false
matrix:
jdk: [8, 11]
jdk: [8, 11, 14]
platform: ["ubuntu-latest", "windows-latest"]
runs-on: ${{ matrix.platform }}

steps:
- name: Set up JDK for build and test

- name: Set up JDK for build and test on 8 and 11
if: matrix.jdk != '14'
uses: actions/setup-java@v2
with:
distribution: temurin # Temurin is a distribution of adoptium
java-version: ${{ matrix.jdk }}

- name: Set up JDK for build and test on 14
if: matrix.jdk == '14'
uses: actions/setup-java@v1
with:
distribution: temurin
java-version: ${{ matrix.jdk }}

- name: Checkout security
uses: actions/checkout@v2

Expand Down

0 comments on commit 539730f

Please sign in to comment.