Skip to content

Commit

Permalink
Use Java 21 in github workflows.
Browse files Browse the repository at this point in the history
  • Loading branch information
wrandelshofer committed Aug 17, 2024
1 parent e878e0f commit a863704
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Setup Java 17
- name: Setup Java 21
uses: actions/setup-java@v3
with:
distribution: "temurin"
java-version: "17"
java-version: "21"

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
java-version: '17'
java-version: '21'
distribution: 'temurin'
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
strategy:
matrix:
os: [ ubuntu-latest ]
java: [ 17 ]
java: [ 21 ]
arch: [ x64 ]
dist: [ zulu ]
fail-fast: false
Expand Down

0 comments on commit a863704

Please sign in to comment.