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 2cdf23a657 try jdk24 (tweak)
2cdf23a657 is described below

commit 2cdf23a6579ffb4d32a1dae55e933d29eb4c50eb
Author: Paul King <[email protected]>
AuthorDate: Sat Mar 22 12:56:44 2025 +1000

    try jdk24 (tweak)
---
 .github/workflows/groovy-build-test.yml      | 3 +++
 src/test/groovy/lang/GroovySystemTest.groovy | 4 ++++
 2 files changed, 7 insertions(+)

diff --git a/.github/workflows/groovy-build-test.yml 
b/.github/workflows/groovy-build-test.yml
index 984326bb8a..59cec9f907 100644
--- a/.github/workflows/groovy-build-test.yml
+++ b/.github/workflows/groovy-build-test.yml
@@ -44,6 +44,7 @@ jobs:
         timeout-minutes: 60
       - name: Upload reports
         uses: actions/upload-artifact@v4
+        if: always()
         with:
           name: build-reports-${{ matrix.java }}
           path: build/reports/
@@ -87,6 +88,7 @@ jobs:
         timeout-minutes: 60
       - name: Upload reports
         uses: actions/upload-artifact@v4
+        if: always()
         with:
           name: build-reports-24
           path: build/reports/
@@ -118,6 +120,7 @@ jobs:
         timeout-minutes: 60
       - name: Upload reports
         uses: actions/upload-artifact@v4
+        if: always()
         with:
           name: build-reports-ea
           path: build/reports/
diff --git a/src/test/groovy/lang/GroovySystemTest.groovy 
b/src/test/groovy/lang/GroovySystemTest.groovy
index 5d996911f5..1b4eecb594 100644
--- a/src/test/groovy/lang/GroovySystemTest.groovy
+++ b/src/test/groovy/lang/GroovySystemTest.groovy
@@ -32,5 +32,9 @@ class GroovySystemTest extends GroovyTestCase {
 
     void testGroovyVersion() {
         assert GroovySystem.getVersion()
+        // so we can check these values in test reports
+        println GroovySystem.getVersion()
+        println System.getProperties()
+        println System.getenv()
     }
 }

Reply via email to