Skip to content

Commit

Permalink
updated ci to use jdk21
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorRodchenkov committed Feb 20, 2024
1 parent a99a18d commit 70c813c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@ on:
- master

jobs:
build-maven-jdk20:
build-maven-jdk21:
runs-on: ubuntu-latest
env:
JDK_JAVA_OPTIONS: "--add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.lang.reflect=ALL-UNNAMED"
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: 20
java-version: 21
distribution: 'temurin'
cache: maven
- name: Build with Maven and JDK-20
- name: Build with Maven and JDK-21
run: mvn --batch-mode --update-snapshots package

0 comments on commit 70c813c

Please sign in to comment.