From ff1e50a93a676ebca8f6368f45f4f22a14e16114 Mon Sep 17 00:00:00 2001 From: cezary-witkowski Date: Fri, 6 Sep 2024 15:38:42 +0200 Subject: [PATCH] [ACS-8623] Configured java 21 runtime for all usages of setup-java-build github actions --- .github/workflows/ci.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e8a1c6926..38258cc09 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -81,6 +81,11 @@ jobs: - uses: actions/checkout@v3 - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.33.0 - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.33.0 + with: + java-version: "21" + - name: "print java runtime version" + run: | + java -version - name: "Init" timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }} run: | @@ -103,6 +108,11 @@ jobs: - uses: actions/checkout@v3 - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.33.0 - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.33.0 + with: + java-version: "21" + - name: "print java runtime version" + run: | + java -version - name: "Init" timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }} run: | @@ -130,6 +140,9 @@ jobs: - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.35.2 with: java-version: "21" + - name: "print java runtime version" + run: | + java -version - name: "Build" timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }} run: | @@ -168,6 +181,11 @@ jobs: - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.33.0 - uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v1.35.2 - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.33.0 + with: + java-version: "21" + - name: "print java runtime version" + run: | + java -version - name: Set up QEMU uses: docker/setup-qemu-action@v2 - name: "Init" @@ -202,6 +220,11 @@ jobs: - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.33.0 - uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v1.35.2 - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.33.0 + with: + java-version: "21" + - name: "print java runtime version" + run: | + java -version - name: Set up QEMU uses: docker/setup-qemu-action@v2 - name: "Init"