Upgrade to jdk 17 (#653)

Still targets Java 11 language support

Co-authored-by: Chris Gerth <gerth2@users.noreply.github.com>
Co-authored-by: Matt <matthew.morley.ca@gmail.com>
This commit is contained in:
Mohammad Durrani
2022-12-27 15:56:21 -05:00
committed by GitHub
parent 14d263a567
commit 78ab5e7c1d
4 changed files with 18 additions and 15 deletions

View File

@@ -60,11 +60,11 @@ jobs:
- name: Fetch tags
run: git fetch --tags --force
# Install Java 11.
- name: Install Java 11
# Install Java 17.
- name: Install Java 17
uses: actions/setup-java@v3
with:
java-version: 11
java-version: 17
distribution: temurin
# Need to publish to maven local first, so that C++ sim can pick it up
@@ -103,11 +103,11 @@ jobs:
- name: Fetch tags
run: git fetch --tags --force
# Install Java 11.
- name: Install Java 11
# Install Java 17.
- name: Install Java 17
uses: actions/setup-java@v3
with:
java-version: 11
java-version: 17
distribution: temurin
# Run only build tasks, no checks??
@@ -181,10 +181,10 @@ jobs:
with:
fetch-depth: 0
# Install Java 11.
# Install Java 17.
- uses: actions/setup-java@v3
with:
java-version: 11
java-version: 17
distribution: temurin
# Check server code with Spotless.
@@ -215,7 +215,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-java@v3
with:
java-version: 11
java-version: 17
distribution: temurin
- run: git fetch --tags --force
- run: |
@@ -337,10 +337,10 @@ jobs:
with:
fetch-depth: 0
# Install Java 11.
# Install Java 17.
- uses: actions/setup-java@v3
with:
java-version: 11
java-version: 17
distribution: temurin
# Clear any existing web resources.