Skip to content

Commit

Permalink
Merge pull request #20 from melissalinkert/jdk21
Browse files Browse the repository at this point in the history
Add JDK 21 to build matrix
  • Loading branch information
sbesson authored Mar 6, 2024
2 parents 8ead2f6 + 63a3d0b commit 21bd756
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ jobs:
build:
strategy:
matrix:
java: [8, 11, 17]
java: [8, 11, 17, 21]
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
env:
maven_commands: install # default is install
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'zulu'
Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -162,10 +162,10 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.7.0</version>
<!-- Require the Java 7 platform. -->
<!-- Require the Java 8 platform. -->
<configuration>
<source>1.7</source>
<target>1.7</target>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>

Expand Down

0 comments on commit 21bd756

Please sign in to comment.