Skip to content

Commit

Permalink
Update build for java 22
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleAure committed Oct 10, 2023
1 parent 274928a commit 0ceed0c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ jobs:
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3

# Gradle java toolchain cannot find early release images, need to preload until GA is available
#- name: Preload JDK 21
# if: ${{ matrix.java-version == '21' }}
# uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3.11.0
# with:
# java-version: '21-ea'
# distribution: 'temurin'
- name: Preload JDK 22
if: ${{ matrix.java-version == '22' }}
uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3.11.0
with:
java-version: '22-ea'
distribution: 'temurin'

- name: Set up JDK 11
uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3.11.0
Expand Down
4 changes: 2 additions & 2 deletions io.openliberty.java.internal_fat_22/run/server.env
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Need to update the JAVA_HOME environment variable to point to your Java 21 JDK
JAVA_HOME=/jdk/hotspot/jdk21
# Need to update the JAVA_HOME environment variable to point to your Java 22 JDK
JAVA_HOME=/jdk/hotspot/jdk22

0 comments on commit 0ceed0c

Please sign in to comment.