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

Set JDK21 as the baseline for the 3.0 major version #582

Merged
merged 1 commit into from
Jun 11, 2024
Merged
Show file tree
Hide file tree
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
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
Loading