From 100fbe1862a8d8da98f61fc442c430e9aea32dc4 Mon Sep 17 00:00:00 2001 From: Rahul Ramesh <121226043+rahu1ramesh@users.noreply.github.com> Date: Tue, 5 Sep 2023 16:24:14 +0530 Subject: [PATCH] Revert "Parvathy, Rahul] | BAH-3197 | Add. Java 11 in Workflow" This reverts commit 7846d1717a354e4de08b8dd54ae5f62f7197c859. --- .github/workflows/build_publish.yaml | 4 ++-- .github/workflows/github_release.yml | 7 +++---- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build_publish.yaml b/.github/workflows/build_publish.yaml index 22a09b2..7716e7d 100644 --- a/.github/workflows/build_publish.yaml +++ b/.github/workflows/build_publish.yaml @@ -30,10 +30,10 @@ jobs: wget -q https://raw.githubusercontent.com/Bahmni/bahmni-infra-utils/main/setArtifactVersion.sh && chmod +x setArtifactVersion.sh ./setArtifactVersion.sh rm setArtifactVersion.sh - - name: Set up JDK 11 + - name: Set up JDK 8 uses: actions/setup-java@v3 with: - java-version: '11' + java-version: '8' distribution: 'corretto' - name: Build with Gradle uses: gradle/gradle-build-action@v2 diff --git a/.github/workflows/github_release.yml b/.github/workflows/github_release.yml index dab80f7..986a5a1 100644 --- a/.github/workflows/github_release.yml +++ b/.github/workflows/github_release.yml @@ -61,11 +61,10 @@ jobs: - name: chckout code uses: actions/checkout@v2 - - name: Set up JDK 11 - uses: actions/setup-java@v3 + - name: Set up JDK 1.8 + uses: actions/setup-java@v1 with: - java-version: '11' - distribution: 'corretto' + java-version: 1.8 - run: ./scripts/travis/compile.sh - run: ./scripts/travis/test.sh - run: ./scripts/travis/createRpm.sh