Skip to content

Commit

Permalink
Revert java matrix anchor
Browse files Browse the repository at this point in the history
Signed-off-by: Finn Carroll <[email protected]>
  • Loading branch information
finnegancarroll committed Sep 17, 2024
1 parent d7cb1b5 commit 76ff633
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,16 @@ 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
with:
product: opensearch

linux-build:
<<: *job_defaults
strategy:
matrix:
java: [ 11,17,21 ]
needs: Get-CI-Image-Tag
# Job name
name: Linux - Build Asynchronous Search
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 76ff633

Please sign in to comment.