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