From dfa42901b05b0f15bdbc98bdc2f78f2a6c45a573 Mon Sep 17 00:00:00 2001 From: vladleesi Date: Mon, 1 Apr 2024 03:58:57 -0600 Subject: [PATCH] Fixed GitHub Action java version --- .github/workflows/build-and-push.yml | 1 + .github/workflows/gh-pages-deploy.yml | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-and-push.yml b/.github/workflows/build-and-push.yml index 0fba4e1..9e074ce 100644 --- a/.github/workflows/build-and-push.yml +++ b/.github/workflows/build-and-push.yml @@ -17,6 +17,7 @@ jobs: - name: Set up JDK 21 uses: actions/setup-java@v4 with: + distribution: 'corretto' java-version: '21' - name: Make gradlew executable diff --git a/.github/workflows/gh-pages-deploy.yml b/.github/workflows/gh-pages-deploy.yml index f03a6e5..29174f7 100644 --- a/.github/workflows/gh-pages-deploy.yml +++ b/.github/workflows/gh-pages-deploy.yml @@ -15,7 +15,8 @@ jobs: - name: Set up JDK 17 uses: actions/setup-java@v4 with: - java-version: '17' + distribution: 'corretto' + java-version: '21' - name: Make gradlew executable run: chmod +x ./gradlew