Skip to content

Commit

Permalink
Set JDK21 as the baseline for the 3.0 major version (#582)
Browse files Browse the repository at this point in the history
Resolves #581

Signed-off-by: Andrew Ross <[email protected]>
  • Loading branch information
andrross authored Jun 11, 2024
1 parent e7056f6 commit eaac32d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 12 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ jobs:
strategy:
matrix:
java:
- 11
- 17
- 21
# Job name
name: Build Asynchronous Search
Expand Down Expand Up @@ -68,8 +66,6 @@ jobs:
strategy:
matrix:
java:
- 11
- 17
- 21
# Job name
name: Test Asynchronous Search with opensearchstaging docker
Expand Down Expand Up @@ -145,10 +141,10 @@ jobs:
runs-on: windows-latest
steps:
# This step uses the setup-java Github action: https://github.com/actions/setup-java
- name: Set Up JDK 11
- name: Set Up JDK 21
uses: actions/setup-java@v1
with:
java-version: 11
java-version: 21
# This step uses the checkout Github action: https://github.com/actions/checkout
- name: Checkout Branch
uses: actions/checkout@v2
Expand All @@ -174,10 +170,10 @@ jobs:
runs-on: macos-latest
steps:
# This step uses the setup-java Github action: https://github.com/actions/setup-java
- name: Set Up JDK 11
- name: Set Up JDK 21
uses: actions/setup-java@v1
with:
java-version: 11
java-version: 21
# This step uses the checkout Github action: https://github.com/actions/checkout
- name: Checkout Branch
uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/multi-node-test-workflow.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Multi node test workflow

env:
java_version: 11
java_version: 21
# This workflow is triggered on pull requests to master
on:
pull_request:
Expand Down Expand Up @@ -32,7 +32,7 @@ jobs:

steps:
# This step uses the setup-java Github action: https://github.com/actions/setup-java
- name: Set Up JDK 11
- name: Set Up JDK 21
uses: actions/setup-java@v1
with:
java-version: ${{ env.java_version }}
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ ext {
}

java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
}

allprojects {
Expand Down

0 comments on commit eaac32d

Please sign in to comment.