diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 3e04f3724f..a5d21e56c7 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -42,7 +42,7 @@ jobs: Build-k-NN-Linux: strategy: matrix: - java: [11, 17, 21] + java: [21] name: Build and Test k-NN Plugin on Linux runs-on: ubuntu-latest @@ -91,7 +91,7 @@ jobs: Build-k-NN-MacOS: strategy: matrix: - java: [ 11, 17, 21 ] + java: [ 21 ] name: Build and Test k-NN Plugin on MacOS needs: Get-CI-Image-Tag @@ -131,7 +131,7 @@ jobs: Build-k-NN-Windows: strategy: matrix: - java: [ 11, 17, 21 ] + java: [ 21 ] name: Build and Test k-NN Plugin on Windows needs: Get-CI-Image-Tag diff --git a/.github/workflows/backwards_compatibility_tests_workflow.yml b/.github/workflows/backwards_compatibility_tests_workflow.yml index 5092cd170d..90a20eda89 100644 --- a/.github/workflows/backwards_compatibility_tests_workflow.yml +++ b/.github/workflows/backwards_compatibility_tests_workflow.yml @@ -33,7 +33,7 @@ jobs: Restart-Upgrade-BWCTests-k-NN: strategy: matrix: - java: [ 11, 17 ] + java: [ 21 ] os: [ubuntu-latest] bwc_version : [ "2.0.1", "2.1.0", "2.2.1", "2.3.0", "2.4.1", "2.5.0", "2.6.0", "2.7.0", "2.8.0", "2.9.0", "2.10.0", "2.11.0", "2.12.0", "2.13.0", "2.14.0", "2.15.0", "2.16.0-SNAPSHOT"] opensearch_version : [ "3.0.0-SNAPSHOT" ] @@ -112,7 +112,7 @@ jobs: Rolling-Upgrade-BWCTests-k-NN: strategy: matrix: - java: [ 11, 17 ] + java: [ 21 ] os: [ubuntu-latest] bwc_version: [ "2.16.0-SNAPSHOT" ] opensearch_version: [ "3.0.0-SNAPSHOT" ] diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index 724e3a2139..644342c78b 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -20,7 +20,7 @@ jobs: - uses: actions/setup-java@v3 with: distribution: temurin # Temurin is a distribution of adoptium - java-version: 11 + java-version: 21 - uses: actions/checkout@v3 - uses: aws-actions/configure-aws-credentials@v1 with: