From 9f6b890c16b1ebeca578a3e780bce6a055283c3d Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 22 Nov 2024 19:16:42 +0000 Subject: [PATCH 1/2] Update actions/setup-java action to v4 --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 097bae8..637c109 100755 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,7 +23,7 @@ jobs: - name: validate gradle wrapper uses: gradle/wrapper-validation-action@v1 - name: setup jdk ${{ matrix.java }} - uses: actions/setup-java@v1 + uses: actions/setup-java@v4 with: java-version: ${{ matrix.java }} - name: make gradle wrapper executable From fe6773aff2096abd0266e9dbfafb5933deccd8d4 Mon Sep 17 00:00:00 2001 From: NotCoded <66999075+not-coded@users.noreply.github.com> Date: Fri, 22 Nov 2024 21:54:59 +0100 Subject: [PATCH 2/2] specify distribution --- .github/workflows/build.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 637c109..2a84d39 100755 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,12 +10,16 @@ jobs: build: strategy: matrix: - # Use these Java versions java: [ 21, ] - # and run on both Linux and Windows + + distribution: [ + "temurin", + ] + os: [ubuntu-20.04, windows-2022] + runs-on: ${{ matrix.os }} steps: - name: checkout repository @@ -26,6 +30,7 @@ jobs: uses: actions/setup-java@v4 with: java-version: ${{ matrix.java }} + distribution: ${{ matrix.distribution }} - name: make gradle wrapper executable if: ${{ runner.os != 'Windows' }} run: chmod +x ./gradlew