Skip to content

Commit 7185c29

Browse files
committed
run tests on GA and EA versions of java, using oracle's gh action
1 parent f345b5b commit 7185c29

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/test.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,16 @@ jobs:
3030
timeout-minutes: 10
3131
strategy:
3232
matrix:
33-
java: [ 21 ]
34-
os: [ ubuntu, windows ]
33+
java: [GA, EA]
34+
os: [ubuntu, windows]
3535
steps:
3636
- name: Check out repo
3737
uses: actions/checkout@v4
38-
- uses: actions/setup-java@v4
38+
- name: Set up latest JDK N from jdk.java.net
39+
uses: oracle-actions/setup-java@v1
3940
with:
40-
distribution: 'zulu'
41-
java-version: ${{ matrix.java }}
42-
cache: 'gradle'
41+
website: jdk.java.net
42+
release: ${{ matrix.java }}
4343
- name: Run Gradle's test task
4444
run: ./gradlew -i --no-daemon --parallel --continue --build-cache --stacktrace test
4545
env:

0 commit comments

Comments
 (0)