From ba01165140e3a4a74dc0e56fd8aa64f52a9ed07b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nya=20=CE=9Elimu?= Date: Tue, 28 Nov 2023 22:15:21 +0700 Subject: [PATCH 1/2] chore: Add Java 17 --- .github/workflows/{gradle.yml => gradle-build.yml} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename .github/workflows/{gradle.yml => gradle-build.yml} (82%) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle-build.yml similarity index 82% rename from .github/workflows/gradle.yml rename to .github/workflows/gradle-build.yml index 6f4e23b..d4c76fa 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle-build.yml @@ -1,4 +1,4 @@ -name: Gradle CI +name: Gradle Build on: push: @@ -11,13 +11,13 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest] + java: [11, 17] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 - uses: actions/setup-java@v3 with: distribution: temurin - java-version: 11 + java-version: ${{ matrix.java }} - uses: gradle/gradle-build-action@v2 - run: ./gradlew clean build - From 97b933aeb83837f5601b031d6f279c5d4e4aded0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nya=20=CE=9Elimu?= Date: Tue, 28 Nov 2023 22:17:36 +0700 Subject: [PATCH 2/2] Update .github/workflows/gradle-build.yml Co-authored-by: Jo G. <1451036+jo-elimu@users.noreply.github.com> --- .github/workflows/gradle-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/gradle-build.yml b/.github/workflows/gradle-build.yml index d4c76fa..524d714 100644 --- a/.github/workflows/gradle-build.yml +++ b/.github/workflows/gradle-build.yml @@ -10,7 +10,7 @@ jobs: build: strategy: matrix: - os: [ubuntu-latest, windows-latest] + os: [ubuntu-latest, macos-latest, windows-latest] java: [11, 17] runs-on: ${{ matrix.os }} steps: