diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6a8e48e4..738d8fcc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,7 +12,7 @@ anchors: job_defaults: &job_defaults strategy: matrix: - java: [21] + java: [ 11,17,21 ] jobs: Get-CI-Image-Tag: diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index f9aa3f14..f3796ba9 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -9,6 +9,10 @@ on: jobs: build-and-publish-snapshots: + strategy: + matrix: + java: [ 11,17,21 ] + runs-on: ubuntu-latest permissions: diff --git a/.github/workflows/multi-node-test-workflow.yml b/.github/workflows/multi-node-test-workflow.yml index 2205751c..ee0a3b39 100644 --- a/.github/workflows/multi-node-test-workflow.yml +++ b/.github/workflows/multi-node-test-workflow.yml @@ -9,12 +9,6 @@ on: branches: - "*" -anchors: - job_defaults: &job_defaults - strategy: - matrix: - java: [21] - jobs: Get-CI-Image-Tag: uses: opensearch-project/opensearch-build/.github/workflows/get-ci-image-tag.yml@main @@ -22,6 +16,9 @@ jobs: product: opensearch build: + strategy: + matrix: + java: [ 21 ] # Job name needs: Get-CI-Image-Tag name: Build Asynchronous Search