Skip to content

Commit

Permalink
Fix for the issue in switching to the latest Java patch version (#16446)
Browse files Browse the repository at this point in the history
* add system properties to allow java 11

* add system properties to allow java 11
  • Loading branch information
DilshanSenarath authored Aug 14, 2023
1 parent a791ba0 commit b37002b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/dependency-updater.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,15 @@ jobs:
build:
runs-on: ubuntu-latest

env:
JAVA_TOOL_OPTIONS: "-Djdk.util.zip.disableZip64ExtraFieldValidation=true -Djdk.nio.zipfs.allowDotZipEntry=true"

steps:
- uses: actions/checkout@v2
- name: Set up Adopt JDK 11
uses: actions/setup-java@v2
with:
java-version: "11.0.19+7"
java-version: "11"
distribution: "adopt"
- name: Check $JAVA_HOME
run: |
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/pr-builder-test-JDK11.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jobs:
build:
runs-on: ubuntu-latest

env:
JAVA_TOOL_OPTIONS: "-Djdk.util.zip.disableZip64ExtraFieldValidation=true -Djdk.nio.zipfs.allowDotZipEntry=true"

steps:
- name: Print Input
run: echo Running the PR builder for PR - ${{ github.event.inputs.pr }}
Expand All @@ -42,7 +45,7 @@ jobs:
- name: Set up Adopt JDK 11
uses: actions/setup-java@v2
with:
java-version: "11.0.19+7"
java-version: "11"
distribution: "adopt"
- name: Echo java 11 home
run: |
Expand Down

0 comments on commit b37002b

Please sign in to comment.