From 842d68e043e4c927fa88758f22a2576d4538dff4 Mon Sep 17 00:00:00 2001 From: Finn Carroll Date: Tue, 17 Sep 2024 10:35:47 -0700 Subject: [PATCH] Revert java matrix anchor Signed-off-by: Finn Carroll --- .github/workflows/build.yml | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fba03938..54a43fdf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,12 +8,6 @@ on: branches: - "*" -anchors: - job_defaults: &job_defaults - strategy: - matrix: - java: [ 11,17,21 ] - jobs: Get-CI-Image-Tag: uses: opensearch-project/opensearch-build/.github/workflows/get-ci-image-tag.yml@main @@ -21,7 +15,9 @@ jobs: product: opensearch linux-build: - <<: *job_defaults + strategy: + matrix: + java: [ 11,17,21 ] needs: Get-CI-Image-Tag # Job name name: Linux - Build Asynchronous Search @@ -73,7 +69,9 @@ jobs: if-no-files-found: error linux-test-docker: - <<: *job_defaults + strategy: + matrix: + java: [ 11,17,21 ] needs: linux-build # Job name name: Test Asynchronous Search with opensearchstaging docker @@ -147,7 +145,9 @@ jobs: path: build/testclusters/integTest-*/logs/* windows-build: - <<: *job_defaults + strategy: + matrix: + java: [ 11,17,21 ] # Job name name: Windows - Build Asynchronous Search # This job runs on Windows. @@ -179,7 +179,9 @@ jobs: path: asynchronous-search-artifacts mac-os-build: - <<: *job_defaults + strategy: + matrix: + java: [ 11,17,21 ] # Job name name: MacOS - Build Asynchronous Search # This job runs on Mac OS.