Skip to content

Commit

Permalink
change 4 disable ubuntu and macos
Browse files Browse the repository at this point in the history
  • Loading branch information
ShammiL committed Aug 13, 2024
1 parent e1ae044 commit d894e77
Showing 1 changed file with 42 additions and 42 deletions.
84 changes: 42 additions & 42 deletions .github/workflows/all-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,48 +3,48 @@ name: All Tests ( openjdk8 )
on: [push]

jobs:
Ubuntu:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: joschi/setup-jdk@v2
with:
distribution: 'adopt'
java-version: 11
- name: Set JAVA_TOOL_OPTIONS
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" >> $GITHUB_ENV
- name: Build with Maven
run: |
mvn -B clean install --file pom.xml -fae
env:
JAVA_TOOL_OPTIONS: ${{ env.JAVA_TOOL_OPTIONS }}

MacOS:

runs-on: macOS-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: joschi/setup-jdk@v2
with:
distribution: 'adopt'
java-version: 11
- name: Set JAVA_TOOL_OPTIONS
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" >> $GITHUB_ENV
- name: Build with Maven
run: |
mvn -B clean install --file pom.xml -fae
env:
JAVA_TOOL_OPTIONS: ${{ env.JAVA_TOOL_OPTIONS }}

# Ubuntu:
#
# runs-on: ubuntu-latest
#
# steps:
# - uses: actions/checkout@v2
# - name: Set up JDK 11
# uses: joschi/setup-jdk@v2
# with:
# distribution: 'adopt'
# java-version: 11
# - name: Set JAVA_TOOL_OPTIONS
# 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" >> $GITHUB_ENV
# - name: Build with Maven
# run: |
# mvn -B clean install --file pom.xml -fae
# env:
# JAVA_TOOL_OPTIONS: ${{ env.JAVA_TOOL_OPTIONS }}
#
# MacOS:
#
# runs-on: macOS-latest
#
# steps:
# - uses: actions/checkout@v2
# - name: Set up JDK 11
# uses: joschi/setup-jdk@v2
# with:
# distribution: 'adopt'
# java-version: 11
# - name: Set JAVA_TOOL_OPTIONS
# 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" >> $GITHUB_ENV
# - name: Build with Maven
# run: |
# mvn -B clean install --file pom.xml -fae
# env:
# JAVA_TOOL_OPTIONS: ${{ env.JAVA_TOOL_OPTIONS }}
#

windows:

Expand Down

0 comments on commit d894e77

Please sign in to comment.