Skip to content

Commit

Permalink
GH-4781 update github actions workflow to use java 21 (#4782)
Browse files Browse the repository at this point in the history
  • Loading branch information
hmottestad authored Sep 20, 2023
2 parents 8903c85 + 9e147f2 commit 6bc981a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/dash-license.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,16 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v3
uses: actions/setup-java@v1
with:
distribution: 'temurin'
java-version: '20'
java-version: '21'
- name: Cache local Maven repository
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-jdk20-maven-${{ hashFiles('**/pom.xml') }}
key: ${{ runner.os }}-jdk21-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-jdk20-maven-
- name: Run license-check
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/develop-status.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
jdk: [11, 20]
jdk: [11, 21]

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main-status.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
jdk: [11, 20]
jdk: [11, 21]

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
jdk: [11, 20]
jdk: [11, 21]
steps:
- uses: actions/checkout@v2
- name: Set up JDK
Expand Down

0 comments on commit 6bc981a

Please sign in to comment.