Goooler commented on code in PR #2276:
URL: https://github.com/apache/groovy/pull/2276#discussion_r2280876476


##########
.github/workflows/groovy-build-test.yml:
##########
@@ -75,24 +75,17 @@ jobs:
       fail-fast: false
       matrix:
         os: [ubuntu-latest]
-        # The jdk links of "install-jdk.sh" are sometimes outdated, so we have 
to download openjdk releases from https://jdk.java.net/ by ourselves.
-        jdk:
-          - 
"https://download.java.net/java/early_access/jdk25/15/GPL/openjdk-25-ea+15_linux-x64_bin.tar.gz";
     runs-on: ${{ matrix.os }}
     steps:
-      - name: Download JDK ${{ matrix.jdk }}
-        run: wget -c ${{ matrix.jdk }} -O /tmp/openjdk.tar.gz
-      - name: Set up JDK ${{ matrix.jdk }}
-        run: mkdir -p /home/runner/openjdk && tar -xvf /tmp/openjdk.tar.gz -C 
/home/runner/openjdk && chmod -R 755 /home/runner/openjdk && mv 
/home/runner/openjdk/jdk*/* /home/runner/openjdk/
       - uses: actions/checkout@v4
       - uses: actions/setup-java@v4
         with:
           distribution: 'zulu'
-          java-version: 21
+          java-version: 25-ea
           check-latest: true
       - uses: gradle/actions/setup-gradle@v4
       - name: Test with Gradle
-        run: ./gradlew test -Ptarget.java.home=/home/runner/openjdk
+        run: ./gradlew test

Review Comment:
   This seems to require Gradle 9, the previous test may not work as expected.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to