From 5d743b2e758372f1327aeedbcf19c4fb86f16edd Mon Sep 17 00:00:00 2001 From: Deftu Date: Tue, 18 Jun 2024 19:07:24 +0200 Subject: [PATCH] Set up Java 8. 16, 17 AND 21 in GitHub workflows --- .github/workflows/build-pr.yml | 6 +++++- .github/workflows/build.yml | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-pr.yml b/.github/workflows/build-pr.yml index 18403aa..ddd9ab8 100644 --- a/.github/workflows/build-pr.yml +++ b/.github/workflows/build-pr.yml @@ -50,8 +50,12 @@ jobs: - name: Set up JDK uses: actions/setup-java@v3 with: - java-version: 21 distribution: 'temurin' + java-version: | + 8 + 16 + 17 + 21 - name: Grant execute permissions for gradlew run: chmod +x gradlew diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 52b0a93..87d4ec1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -31,8 +31,12 @@ jobs: - name: Set up JDK uses: actions/setup-java@v3 with: - java-version: 21 distribution: 'temurin' + java-version: | + 8 + 16 + 17 + 21 - name: Grant execute permission for gradlew run: chmod +x gradlew