Skip to content

Commit 443e395

Browse files
committed
User get-supported-jdks action
1 parent 3255345 commit 443e395

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/_reusable_tag_image_push.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,14 @@ env:
3636
test_container_name_ee: hazelcast-ee-test
3737

3838
jobs:
39-
jdks:
40-
uses: ./.github/workflows/get-supported-jdks.yaml
41-
4239
prepare:
4340
runs-on: ubuntu-latest
4441
env:
4542
RELEASE_TYPE: ${{ inputs.RELEASE_TYPE || 'EE' }}
4643
outputs:
4744
should_build_oss: ${{ steps.which_editions.outputs.should_build_oss }}
4845
should_build_ee: ${{ steps.which_editions.outputs.should_build_ee }}
46+
jdks: ${{ steps.jdks.outputs.jdks }}
4947
steps:
5048
- name: Checkout Code
5149
uses: actions/checkout@v4
@@ -72,13 +70,18 @@ jobs:
7270
should_build_ee=$(should_build_ee "$release_type")
7371
echo "should_build_ee=${should_build_ee}" >> $GITHUB_OUTPUT
7472
echo "should_build_oss=${should_build_oss}" >> $GITHUB_OUTPUT
73+
- name: Get supported JDKs
74+
id: jdks
75+
uses: ./.github/actions/get-supported-jdks
76+
with:
77+
HZ_VERSION: '${{ inputs.HZ_VERSION }}'
7578

7679
push:
7780
runs-on: ubuntu-latest
78-
needs: [ jdks, prepare ]
81+
needs: [ prepare ]
7982
strategy:
8083
matrix:
81-
jdk: ${{ fromJSON(needs.jdks.outputs.jdks) }}
84+
jdk: ${{ fromJSON(needs.prepare.outputs.jdks) }}
8285
variant: [ 'slim','' ]
8386
include:
8487
- variant: slim

0 commit comments

Comments
 (0)