Skip to content

Commit

Permalink
Build and release only with configured sourceCompatibility/targetComp…
Browse files Browse the repository at this point in the history
…atibility java 21

Signed-off-by: Finn Carroll <[email protected]>
  • Loading branch information
finnegancarroll committed Sep 17, 2024
1 parent 842d68e commit 825abab
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
linux-build:
strategy:
matrix:
java: [ 11,17,21 ]
java: [ 21 ]
needs: Get-CI-Image-Tag
# Job name
name: Linux - Build Asynchronous Search
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
linux-test-docker:
strategy:
matrix:
java: [ 11,17,21 ]
java: [ 21 ]
needs: linux-build
# Job name
name: Test Asynchronous Search with opensearchstaging docker
Expand Down Expand Up @@ -147,7 +147,7 @@ jobs:
windows-build:
strategy:
matrix:
java: [ 11,17,21 ]
java: [ 21 ]
# Job name
name: Windows - Build Asynchronous Search
# This job runs on Windows.
Expand Down Expand Up @@ -181,7 +181,7 @@ jobs:
mac-os-build:
strategy:
matrix:
java: [ 11,17,21 ]
java: [ 21 ]
# Job name
name: MacOS - Build Asynchronous Search
# This job runs on Mac OS.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
build:
strategy:
matrix:
java: [11,17,21]
java: [21]
# Job name
name: Build Asynchronous Search with JDK ${{ matrix.java }}
# This job runs on Linux
Expand Down

0 comments on commit 825abab

Please sign in to comment.