Skip to content

Commit

Permalink
Updated github workflow maven.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorRodchenkov authored Sep 3, 2023
1 parent 9b805a4 commit 006b7f0
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,33 +7,23 @@ on:
branches:
- master
- paxtools-5-2-1
- paxtools-6
pull_request:
branches:
- master
workflow_call:

jobs:
build-with-jdk11:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: 11
distribution: 'temurin'
cache: maven
- name: Build with Maven and JDK-11
run: mvn --batch-mode --update-snapshots package
build-with-jdk17:
build-20:
runs-on: ubuntu-latest
env:
_JAVA_OPTIONS: "--add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED"
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
distribution: 'temurin'
cache: maven
- name: Build with Maven and JDK-17
- name: Build with Maven (JDK-17)
run: mvn --batch-mode --update-snapshots package

0 comments on commit 006b7f0

Please sign in to comment.