actions: use java 21 in CI

This commit is contained in:
Kavin 2023-09-19 23:57:44 +01:00
parent f25ad497d2
commit 922ef589c9
No known key found for this signature in database
GPG key ID: 6E4598CA5C92C41F
3 changed files with 5 additions and 5 deletions

View file

@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ 17 ]
java: [ 21 ]
steps:
- uses: actions/checkout@v4

View file

@ -15,10 +15,10 @@ jobs:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.base.sha }}
- name: set up JDK 17
- name: set up JDK 21
uses: actions/setup-java@v3
with:
java-version: 17
java-version: 21
distribution: temurin
cache: "gradle"
- name: Run Build

View file

@ -9,10 +9,10 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: set up JDK 17
- name: set up JDK 21
uses: actions/setup-java@v3
with:
java-version: 17
java-version: 21
distribution: temurin
cache: "gradle"
- name: Run Build