Update CI to run with JDK 17 instead of JDK 11
@@ -20,15 +20,16 @@ jobs:
jdk: [8]
include:
- os: ubuntu-latest
- jdk: 11
+ jdk: 17
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install JDK
- uses: joschi/setup-jdk@v2
+ uses: actions/setup-java@v2
with:
java-version: ${{ matrix.jdk }}
+ distribution: temurin
- name: Run tests
run: mvn -s .github/maven-ci-settings.xml clean verify -B
Apollo-Link-Tests:
@@ -41,9 +42,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
- name: Install JDK
- uses: joschi/setup-jdk@v2
+ uses: actions/setup-java@v2
with:
java-version: 8
+ distribution: temurin
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
@@ -71,9 +73,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
- name: Install JDK
- uses: joschi/setup-jdk@v2
+ uses: actions/setup-java@v2
with:
java-version: 8
+ distribution: temurin
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
@@ -101,9 +104,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
- name: Install JDK
- uses: joschi/setup-jdk@v2
+ uses: actions/setup-java@v2
with:
java-version: 8
+ distribution: temurin
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
@@ -133,9 +137,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
- name: Install JDK
- uses: joschi/setup-jdk@v2
+ uses: actions/setup-java@v2
with:
java-version: 8
+ distribution: temurin
- name: Get project version
run: echo "PROJECT_VERSION=$(mvn org.apache.maven.plugins:maven-help-plugin:evaluate -Dexpression=project.version -B | grep -v '\[')" >> $GITHUB_ENV
- name: Maven deploy
