Skip to content

Commit 53f82cd

Browse files
committed
Try Oracle action
1 parent 60d4d3b commit 53f82cd

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/binaries.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -194,14 +194,12 @@ jobs:
194194
uses: gittools/actions/gitversion/[email protected]
195195

196196
# region setup-JDK
197-
- name: Create ASDF config
197+
- name: 'Set up latest JDK EA from jdk.java.net'
198198
if: startsWith(matrix.os, 'macos')
199-
run: |
200-
cat > .tool-versions <<EOF
201-
java openjdk-26.ea.18
202-
- name: Setup JDK 26 EA for "java toolchain" of Gradle
203-
if: startsWith(matrix.os, 'macos')
204-
uses: asdf-vm/actions/install@v4
199+
uses: oracle-actions/setup-java@v1
200+
with:
201+
website: jdk.java.net
202+
release: EA
205203
- name: Tell gradle to use JDK 26
206204
if: startsWith(matrix.os, 'macos')
207205
run: sed -i '' "s/JavaLanguageVersion.of(25)/JavaLanguageVersion.of(26)/" build-logic/src/main/kotlin/buildlogic.java-common-conventions.gradle.kts

0 commit comments

Comments
 (0)