From 537809d8f15eb511ae5718ca1faf62fdd69baf9c Mon Sep 17 00:00:00 2001 From: Subhobrata Dey Date: Fri, 18 Oct 2024 02:27:21 +0000 Subject: [PATCH] only support jdk-21 Signed-off-by: Subhobrata Dey --- .github/workflows/maven-publish.yml | 2 +- .github/workflows/multi-node-test-workflow.yml | 2 +- .github/workflows/security-test-workflow.yml | 2 +- .github/workflows/test-workflow.yml | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index 75f22834a..e822e15cb 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - jdk: [17] + jdk: [21] platform: ["ubuntu-latest"] if: github.repository == 'opensearch-project/alerting' runs-on: ${{ matrix.platform }} diff --git a/.github/workflows/multi-node-test-workflow.yml b/.github/workflows/multi-node-test-workflow.yml index f63ef1cc3..7baa62806 100644 --- a/.github/workflows/multi-node-test-workflow.yml +++ b/.github/workflows/multi-node-test-workflow.yml @@ -20,7 +20,7 @@ jobs: needs: Get-CI-Image-Tag strategy: matrix: - java: [ 17 ] + java: [ 21 ] # Job name name: Build and test Alerting # This job runs on Linux diff --git a/.github/workflows/security-test-workflow.yml b/.github/workflows/security-test-workflow.yml index 0c6e3be68..fd40a62e9 100644 --- a/.github/workflows/security-test-workflow.yml +++ b/.github/workflows/security-test-workflow.yml @@ -12,7 +12,7 @@ jobs: build: strategy: matrix: - java: [ 17, 21 ] + java: [ 21 ] # Job name name: Build and test Alerting # This job runs on Linux diff --git a/.github/workflows/test-workflow.yml b/.github/workflows/test-workflow.yml index 0e941237a..aabd8b49c 100644 --- a/.github/workflows/test-workflow.yml +++ b/.github/workflows/test-workflow.yml @@ -23,7 +23,7 @@ jobs: WORKING_DIR: ${{ matrix.working_directory }}. strategy: matrix: - java: [17, 21] + java: [21] # Job name name: Build Alerting with JDK ${{ matrix.java }} on Linux # This job runs on Linux @@ -71,7 +71,7 @@ jobs: WORKING_DIR: ${{ matrix.working_directory }}. strategy: matrix: - java: [17, 21] + java: [21] os: [ windows-latest, macos-latest ] include: - os: windows-latest