Skip to content

Commit 2aa7a33

Browse files
committed
GH-4781 update github actions workflow to use java 21
1 parent 8903c85 commit 2aa7a33

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/dash-license.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ jobs:
1515
uses: actions/setup-java@v3
1616
with:
1717
distribution: 'temurin'
18-
java-version: '20'
18+
java-version: '21'
1919
- name: Cache local Maven repository
2020
uses: actions/cache@v3
2121
with:
2222
path: ~/.m2/repository
23-
key: ${{ runner.os }}-jdk20-maven-${{ hashFiles('**/pom.xml') }}
23+
key: ${{ runner.os }}-jdk21-maven-${{ hashFiles('**/pom.xml') }}
2424
restore-keys: |
2525
${{ runner.os }}-jdk20-maven-
2626
- name: Run license-check

.github/workflows/develop-status.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
jdk: [11, 20]
14+
jdk: [11, 21]
1515

1616
steps:
1717
- uses: actions/checkout@v2

.github/workflows/main-status.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
jdk: [11, 20]
14+
jdk: [11, 21]
1515

1616
steps:
1717
- uses: actions/checkout@v2

.github/workflows/pr-verify.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
jdk: [11, 20]
10+
jdk: [11, 21]
1111
steps:
1212
- uses: actions/checkout@v2
1313
- name: Set up JDK

0 commit comments

Comments
 (0)