From f7bbb11c5c52e024a077e28b7c35c6d24cba7602 Mon Sep 17 00:00:00 2001 From: aboyko Date: Wed, 10 Apr 2024 10:24:43 -0400 Subject: [PATCH] [GHA] Build e432 distro with JDK 21 --- .github/workflows/gh-hosted-eclipse-distro-build.yml | 8 +++++++- .github/workflows/snapshot-e430-eclipse-distro-build.yml | 1 + .github/workflows/snapshot-e431-eclipse-distro-build.yml | 1 + .github/workflows/snapshot-e432-eclipse-distro-build.yml | 1 + 4 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/gh-hosted-eclipse-distro-build.yml b/.github/workflows/gh-hosted-eclipse-distro-build.yml index 6921f5f11..0715e6652 100644 --- a/.github/workflows/gh-hosted-eclipse-distro-build.yml +++ b/.github/workflows/gh-hosted-eclipse-distro-build.yml @@ -26,6 +26,11 @@ on: required: false default: 'main' type: string + java_version: + description: JDK version to build the artifacts + required: false + default: '17' + type: string jobs: @@ -42,7 +47,7 @@ jobs: - name: Set up JDK 17 uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 with: - java-version: '17' + java-version: ${{ inputs.java_version }} distribution: 'temurin' - name: Enforce https instead of http run: ./nohttp.sh @@ -64,6 +69,7 @@ jobs: gpg_passphrase: ${{ secrets.GPG_PASSPHRASE }} gpg_keyname: ${{ secrets.GPG_KEYID }} run: | + echo $JAVA_HOME sts4_ls_version=${{ inputs.sts4-language-servers-version }} sts4_ls_version_param="" if ! [[ -z ${sts4_ls_version} ]]; then diff --git a/.github/workflows/snapshot-e430-eclipse-distro-build.yml b/.github/workflows/snapshot-e430-eclipse-distro-build.yml index f7d28d402..36099e862 100644 --- a/.github/workflows/snapshot-e430-eclipse-distro-build.yml +++ b/.github/workflows/snapshot-e430-eclipse-distro-build.yml @@ -20,4 +20,5 @@ jobs: with: eclipse_profile: 'e430' build_type: 'snapshot' + java_version: '17' secrets: inherit \ No newline at end of file diff --git a/.github/workflows/snapshot-e431-eclipse-distro-build.yml b/.github/workflows/snapshot-e431-eclipse-distro-build.yml index 50cb39f06..4e7bad766 100644 --- a/.github/workflows/snapshot-e431-eclipse-distro-build.yml +++ b/.github/workflows/snapshot-e431-eclipse-distro-build.yml @@ -20,4 +20,5 @@ jobs: with: eclipse_profile: 'e431' build_type: 'snapshot' + java_version: '17' secrets: inherit \ No newline at end of file diff --git a/.github/workflows/snapshot-e432-eclipse-distro-build.yml b/.github/workflows/snapshot-e432-eclipse-distro-build.yml index 8d8483ec1..a67d87aa6 100644 --- a/.github/workflows/snapshot-e432-eclipse-distro-build.yml +++ b/.github/workflows/snapshot-e432-eclipse-distro-build.yml @@ -19,4 +19,5 @@ jobs: with: eclipse_profile: 'e432' build_type: 'snapshot' + java_version: '21' secrets: inherit \ No newline at end of file