Skip to content

Commit 6bc981a

Browse files
authored
GH-4781 update github actions workflow to use java 21 (#4782)
2 parents 8903c85 + 9e147f2 commit 6bc981a

4 files changed

Lines changed: 7 additions & 8 deletions

File tree

.github/workflows/dash-license.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,16 @@ jobs:
1010
runs-on: ubuntu-latest
1111

1212
steps:
13-
- uses: actions/checkout@v3
13+
- uses: actions/checkout@v2
1414
- name: Set up JDK
15-
uses: actions/setup-java@v3
15+
uses: actions/setup-java@v1
1616
with:
17-
distribution: 'temurin'
18-
java-version: '20'
17+
java-version: '21'
1918
- name: Cache local Maven repository
2019
uses: actions/cache@v3
2120
with:
2221
path: ~/.m2/repository
23-
key: ${{ runner.os }}-jdk20-maven-${{ hashFiles('**/pom.xml') }}
22+
key: ${{ runner.os }}-jdk21-maven-${{ hashFiles('**/pom.xml') }}
2423
restore-keys: |
2524
${{ runner.os }}-jdk20-maven-
2625
- 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)