Skip to content

Commit

Permalink
Use Java 21 for GH actions
Browse files Browse the repository at this point in the history
Prereq for
#2654
  • Loading branch information
akurtakov committed Dec 16, 2024
1 parent dccafba commit 8e3f268
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/checkVersions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Set up Java
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0
with:
java-version: 17
java-version: 21
distribution: 'temurin'
cache: maven

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/codeQLworkflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,12 @@ jobs:
8
11
17
21
mvn-toolchain-id: |
JavaSE-1.8
JavaSE-11
JavaSE-17
JavaSE-21
distribution: 'temurin'
cache: maven
- name: Set up Maven
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prepareRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0
with:
java-version: '17'
java-version: '21'
distribution: 'temurin'
cache: maven
- name: Update Main Versions
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/updateRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0
with:
java-version: '17'
java-version: '21'
distribution: 'temurin'
cache: maven
- name: Update Versions
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/updateTarget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0
with:
java-version: '17'
java-version: '21'
distribution: 'temurin'
cache: maven
- name: Update Target Platform
Expand Down

0 comments on commit 8e3f268

Please sign in to comment.