This is an automated email from the ASF dual-hosted git repository.

paulk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git


The following commit(s) were added to refs/heads/master by this push:
     new 2e9c251b8b try jdk24
2e9c251b8b is described below

commit 2e9c251b8bc492daea9c68c22750e200b39b3b83
Author: Paul King <[email protected]>
AuthorDate: Sat Mar 22 11:30:31 2025 +1000

    try jdk24
---
 .github/workflows/groovy-build-test.yml | 21 ++++++++++++++++++++-
 1 file changed, 20 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/groovy-build-test.yml 
b/.github/workflows/groovy-build-test.yml
index 8aaf7be003..ef632eec40 100644
--- a/.github/workflows/groovy-build-test.yml
+++ b/.github/workflows/groovy-build-test.yml
@@ -54,7 +54,7 @@ jobs:
       fail-fast: false
       matrix:
         os: [ubuntu-latest]
-        java: [12, 13, 14, 15, 16, 18, 19, 20, 22, 23, 24]
+        java: [12, 13, 14, 15, 16, 18, 19, 20, 22, 23]
     runs-on: ${{ matrix.os }}
     steps:
       - uses: actions/checkout@v4
@@ -67,6 +67,25 @@ jobs:
       - name: Test with Gradle
         run: ./gradlew test
         timeout-minutes: 60
+
+  # merge with 'additional' once gradle supports jdk24 for running gradle
+  additional24:
+    #if: github.event_name == 'push'
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v4
+      - uses: actions/setup-java@v4
+        with:
+          distribution: 'zulu'
+          java-version: |
+            24
+            21
+          check-latest: true
+      - uses: gradle/actions/setup-gradle@v4
+      - name: Test with Gradle
+        run: ./gradlew test -Ptarget.java.home=$JAVA_HOME_24
+        timeout-minutes: 60
+
   ea:
     #if: github.event_name == 'push'
     strategy:

Reply via email to