From 2749954c08bd23036378a234fb07e558242fd184 Mon Sep 17 00:00:00 2001 From: Kode Date: Tue, 11 Apr 2023 12:06:19 +0100 Subject: [PATCH 1/4] GitHub actions (attempt) --- .github/workflows/gradle.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/gradle.yml diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml new file mode 100644 index 00000000..dc1f9d0c --- /dev/null +++ b/.github/workflows/gradle.yml @@ -0,0 +1,30 @@ +# This workflow uses actions that are not certified by GitHub. +# They are provided by a third-party and are governed by +# separate terms of service, privacy policy, and support +# documentation. +# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle + +name: Java CI with Gradle + +on: [ 'push', 'pull_request' ] + +permissions: + contents: read + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Set up JDK 17 + uses: actions/setup-java@v3 + with: + java-version: '17' + distribution: 'temurin' + - name: Build with Gradle + uses: gradle/gradle-build-action@v2 + with: + arguments: build From 3b0edfce361bb80909139d70d35e39e7ddbe4ae9 Mon Sep 17 00:00:00 2001 From: TheKodeToad Date: Tue, 11 Apr 2023 12:07:54 +0100 Subject: [PATCH 2/4] chmod my beloved --- gradlew | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 gradlew diff --git a/gradlew b/gradlew old mode 100644 new mode 100755 From 0acd95e2f41336fbfc425de03c5519698c3313f5 Mon Sep 17 00:00:00 2001 From: Kode Date: Sat, 20 May 2023 15:52:00 +0100 Subject: [PATCH 3/4] Try to clean up --- .github/workflows/gradle.yml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index dc1f9d0c..8b8ab07f 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -1,13 +1,6 @@ -# This workflow uses actions that are not certified by GitHub. -# They are provided by a third-party and are governed by -# separate terms of service, privacy policy, and support -# documentation. -# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time -# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle - name: Java CI with Gradle -on: [ 'push', 'pull_request' ] +on: [ push, pull_request ] permissions: contents: read @@ -22,8 +15,8 @@ jobs: - name: Set up JDK 17 uses: actions/setup-java@v3 with: - java-version: '17' - distribution: 'temurin' + java-version: 17 + distribution: temurin - name: Build with Gradle uses: gradle/gradle-build-action@v2 with: From dc3043de7e07acd4f571760f556ba7f2dfd96455 Mon Sep 17 00:00:00 2001 From: TheKodeToad Date: Thu, 12 Sep 2024 21:52:02 +0100 Subject: [PATCH 4/4] Build with Java 21 --- .github/workflows/gradle.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 8b8ab07f..2e763db4 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -12,10 +12,10 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Set up JDK 17 + - name: Set up JDK 21 uses: actions/setup-java@v3 with: - java-version: 17 + java-version: 21 distribution: temurin - name: Build with Gradle uses: gradle/gradle-build-action@v2