diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 7131c43..3eb8fc8 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -8,15 +8,31 @@ on: - pull_request jobs: - build: +# build_before_java16: +# runs-on: ubuntu-latest +# strategy: +# matrix: +# java: +# - '8' # 2030.12 +# - '11' # 2026.09 +# name: Build for Java ${{ matrix.Java }} +# steps: +# - uses: actions/checkout@v2 +# - name: Setup java +# uses: actions/setup-java@v2 +# with: +# distribution: 'temurin' +# java-version: ${{ matrix.java }} +# - name: Build with Maven +# run: mvn -B package --file pom.xml + + build_after_java16: runs-on: ubuntu-latest strategy: matrix: java: - - '8' - - '11' - #- '17' - name: Java ${{ matrix.Java }} sample + - '17' # 2029.09 + name: Build for Java ${{ matrix.Java }} steps: - uses: actions/checkout@v2 - name: Setup java @@ -25,4 +41,4 @@ jobs: distribution: 'temurin' java-version: ${{ matrix.java }} - name: Build with Maven - run: mvn -B package --file pom.xml + run: mvn -B package --file pom.xml \ No newline at end of file diff --git a/pom.xml b/pom.xml index 57fe027..bc07127 100644 --- a/pom.xml +++ b/pom.xml @@ -64,7 +64,7 @@ 10 - -Xms1g -Xmx1g + -Xms1g -Xmx1g --add-opens java.base/java.lang=ALL-UNNAMED