Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -217,9 +217,11 @@ jobs:
uses: oracle-actions/setup-java@v1
with:
# Install the requested EA JDK second, to make it the default on which everything else runs.
website: jdk.java.net
release: ${{ env.JDK_EA_MAJOR }}
version: ${{ format('{0}-ea+{1}', env.JDK_EA_MAJOR, env.JDK_EA_BUILD) }}
# Pin EA builds by direct archive URI.
# If the URI stops working, check for the updated pattern here:
# https://github.com/oracle-actions/setup-java/blob/main/jdk.java.net-uri.properties
uri: ${{ format('https://download.java.net/java/early_access/jdk{0}/{1}/GPL/openjdk-{0}-ea+{1}_linux-x64_bin.tar.gz', env.JDK_EA_MAJOR, env.JDK_EA_BUILD) }}
Comment thread
wmdietl marked this conversation as resolved.
install-as-version: ${{ env.JDK_EA_MAJOR }}
- name: Inject JAVA_HOME_21_64 into `gradle.properties` to always use JDK 21 for Gradle
run: mkdir -p ~/.gradle && echo "org.gradle.java.home=$JAVA_HOME_21_X64" >> ~/.gradle/gradle.properties

Expand Down