Goooler commented on code in PR #2275:
URL: https://github.com/apache/groovy/pull/2275#discussion_r2280880452
##########
.github/workflows/groovy-build-test.yml:
##########
@@ -74,25 +74,18 @@ jobs:
strategy:
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"
+ os: [ubuntu-24.04-arm]
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:
I'm wrong, this could be replaced by toolchain.
--
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]