From c97b4271c0accdb20e30bdd8c90f2329bf6cf438 Mon Sep 17 00:00:00 2001 From: Pushpavel Date: Thu, 23 May 2024 01:44:08 +0530 Subject: [PATCH] update java version to 17 in workflows [release] [skip-verify] --- .github/workflows/build.yml | 18 +++++++++--------- .github/workflows/release.yml | 6 +++--- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f4a3cbda..9fe48506 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -73,12 +73,12 @@ jobs: - name: Fetch Sources uses: actions/checkout@v2.3.5 - # Setup Java 11 environment for the next steps + # Setup Java 17.0.11 environment for the next steps - name: Setup Java uses: actions/setup-java@v2 with: - distribution: zulu - java-version: 11 + distribution: corretto + java-version: 17.0.11 cache: gradle # Run tests @@ -104,12 +104,12 @@ jobs: - name: Fetch Sources uses: actions/checkout@v2.3.5 - # Setup Java 11 environment for the next steps + # Setup Java 17.0.11 environment for the next steps - name: Setup Java uses: actions/setup-java@v2 with: - distribution: zulu - java-version: 11 + distribution: corretto + java-version: 17.0.11 cache: gradle # Set environment variables @@ -155,12 +155,12 @@ jobs: - name: Fetch Sources uses: actions/checkout@v2.3.4 - # Setup Java 11 environment for the next steps + # Setup Java 17.0.11 environment for the next steps - name: Setup Java uses: actions/setup-java@v2 with: - distribution: zulu - java-version: 11 + distribution: corretto + java-version: 17.0.11 cache: gradle # insert Analytics secrets diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6159a43b..ed059de3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,12 +20,12 @@ jobs: with: ref: ${{ github.event.release.tag_name }} - # Setup Java 11 environment for the next steps + # Setup Java 17 environment for the next steps - name: Setup Java uses: actions/setup-java@v2 with: - distribution: zulu - java-version: 11 + distribution: corretto + java-version: 17.0.11 cache: gradle # Insert Analytics secrets