Skip to content

Commit

Permalink
change 2 windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ShammiL committed Aug 13, 2024
1 parent 939190d commit 5f3338d
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/all-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,10 @@ jobs:
java-version: 11
- name: Set JAVA_TOOL_OPTIONS
run: |
echo "old JAVA_TOOL_OPTIONS: ${{ env.JAVA_TOOL_OPTIONS }}"
NEW_JAVA_TOOL_OPTIONS="${{ env.JAVA_TOOL_OPTIONS }} -Djdk.util.zip.disableZip64ExtraFieldValidation=true -Djdk.nio.zipfs.allowDotZipEntry=true --add-opens=java.base/java.net=ALL-UNNAMED"
echo "JAVA_TOOL_OPTIONS=$NEW_JAVA_TOOL_OPTIONS" >> $GITHUB_ENV
- name: Build with Maven
run: |
echo "old JAVA_TOOL_OPTIONS: ${{ env.JAVA_TOOL_OPTIONS }}"
mvn -B clean install --file pom.xml -fae
env:
JAVA_TOOL_OPTIONS: ${{ env.JAVA_TOOL_OPTIONS }}
Expand All @@ -39,12 +37,10 @@ jobs:
java-version: 11
- name: Set JAVA_TOOL_OPTIONS
run: |
echo "old JAVA_TOOL_OPTIONS: ${{ env.JAVA_TOOL_OPTIONS }}"
NEW_JAVA_TOOL_OPTIONS="${{ env.JAVA_TOOL_OPTIONS }} -Djdk.util.zip.disableZip64ExtraFieldValidation=true -Djdk.nio.zipfs.allowDotZipEntry=true --add-opens=java.base/java.net=ALL-UNNAMED"
echo "JAVA_TOOL_OPTIONS=$NEW_JAVA_TOOL_OPTIONS" >> $GITHUB_ENV
- name: Build with Maven
run: |
echo "old JAVA_TOOL_OPTIONS: ${{ env.JAVA_TOOL_OPTIONS }}"
mvn -B clean install --file pom.xml -fae
env:
JAVA_TOOL_OPTIONS: ${{ env.JAVA_TOOL_OPTIONS }}
Expand All @@ -64,7 +60,9 @@ jobs:
distribution: 'adopt'
java-version: 11
- name: Set JAVA_TOOL_OPTIONS
run: echo "JAVA_TOOL_OPTIONS=%JAVA_TOOL_OPTIONS% -Djdk.util.zip.disableZip64ExtraFieldValidation=true -Djdk.nio.zipfs.allowDotZipEntry=true --add-opens=java.base/java.net=ALL-UNNAMED" >> $env:GITHUB_ENV
run: |
NEW_JAVA_TOOL_OPTIONS="${{ env.JAVA_TOOL_OPTIONS }} -Djdk.util.zip.disableZip64ExtraFieldValidation=true -Djdk.nio.zipfs.allowDotZipEntry=true --add-opens=java.base/java.net=ALL-UNNAMED"
echo "JAVA_TOOL_OPTIONS=$NEW_JAVA_TOOL_OPTIONS" >> $env:GITHUB_ENV
- name: Build with Maven
run: mvn -B clean install --file pom.xml -fae
env:
Expand Down

0 comments on commit 5f3338d

Please sign in to comment.