Skip to content

Commit

Permalink
Updated github workflow for this branch to use JDK 8, 11, 21 and mvn …
Browse files Browse the repository at this point in the history
…with 'verify' phase.
  • Loading branch information
IgorRodchenkov committed May 13, 2024
1 parent 6c0ef29 commit fe06a19
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ jobs:
java-version: 8
distribution: 'temurin'
cache: maven
- name: Build with Maven and JDK-8
run: mvn --batch-mode --update-snapshots package
- name: Build with JDK-8
run: mvn --batch-mode --update-snapshots verify
build-with-jdk11:
runs-on: ubuntu-latest
steps:
Expand All @@ -33,18 +33,18 @@ jobs:
java-version: 11
distribution: 'temurin'
cache: maven
- name: Build with Maven and JDK-11
run: mvn --batch-mode --update-snapshots package
build-with-jdk17:
- name: Build with JDK-11
run: mvn --batch-mode --update-snapshots verify
build-with-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: 17
java-version: 21
distribution: 'temurin'
cache: maven
- name: Build with Maven and JDK-17
- name: Build with JDK-21
run: mvn --batch-mode --update-snapshots verify

0 comments on commit fe06a19

Please # to comment.