Attempt to migrate to Java 19.

This commit is contained in:
Kavin 2023-03-09 13:00:37 +00:00
parent 10758f595b
commit 4a533e9513
No known key found for this signature in database
GPG key ID: 49451E4482CC5BCD
10 changed files with 63 additions and 61 deletions

View file

@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ 17 ]
java: [ 19 ]
steps:
- uses: actions/checkout@v3
@ -20,7 +20,6 @@ jobs:
with:
java-version: ${{ matrix.java }}
distribution: temurin
check-latest: true
cache: "gradle"
- name: Run Build
run: ./gradlew build

View file

@ -21,17 +21,17 @@ jobs:
dockerfile:
- Dockerfile.ci
- Dockerfile.openj9.ci
- Dockerfile.graalvm-jvm.ci
# - Dockerfile.graalvm-jvm.ci
fail-fast: false
steps:
- uses: actions/checkout@v3
- name: Create Version File
run: echo $(git log -1 --date=short --pretty=format:%cd)-$(git rev-parse --short HEAD) > VERSION
- name: set up JDK 17
- name: set up JDK 19
uses: actions/setup-java@v3
with:
java-version: 17
java-version: 19
distribution: temurin
check-latest: true
cache: "gradle"
- name: Run Build
run: ./gradlew shadowJar

View file

@ -23,12 +23,11 @@ jobs:
- uses: actions/checkout@v3
- name: Create Version File
run: echo $(git log -1 --date=short --pretty=format:%cd)-$(git rev-parse --short HEAD) > VERSION
- name: set up JDK 17
- name: set up JDK 19
uses: actions/setup-java@v3
with:
java-version: 17
java-version: 19
distribution: temurin
check-latest: true
cache: "gradle"
- name: Run Build
run: ./gradlew shadowJar