Skip to content

Commit

Permalink
Update GH Actions steps
Browse files Browse the repository at this point in the history
Build with all relevant LTS JDKs
  • Loading branch information
kwin committed Apr 5, 2024
1 parent 77e0272 commit b07198a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
jdk: [8, 11, 16]
jdk: [11, 17, 21]
include:
# lengthy build steps should only be performed on linux with Java 11 (CodeCov analysis, deployment)
# lengthy build steps should only be performed on linux with Java 17 (Sonarcloud analysis, deployment)
- os: ubuntu-latest
jdk: 11
jdk: 17
isMainBuildEnv: true
namePrefix: 'Main '
fail-fast: false
Expand All @@ -26,9 +26,9 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Git Clone
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v2
uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: ${{ matrix.jdk }}
Expand Down

0 comments on commit b07198a

Please sign in to comment.