diff --git a/.github/workflows/build_publish.yaml b/.github/workflows/build_publish.yaml index 7716e7d..22a09b2 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 8 + - name: Set up JDK 11 uses: actions/setup-java@v3 with: - java-version: '8' + java-version: '11' 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 986a5a1..dab80f7 100644 --- a/.github/workflows/github_release.yml +++ b/.github/workflows/github_release.yml @@ -61,10 +61,11 @@ jobs: - name: chckout code uses: actions/checkout@v2 - - name: Set up JDK 1.8 - uses: actions/setup-java@v1 + - name: Set up JDK 11 + uses: actions/setup-java@v3 with: - java-version: 1.8 + java-version: '11' + distribution: 'corretto' - run: ./scripts/travis/compile.sh - run: ./scripts/travis/test.sh - run: ./scripts/travis/createRpm.sh