From 1086cb2fe630944c6fb2145ce632fcbe61d3dfc6 Mon Sep 17 00:00:00 2001 From: Jiaju Zhuang Date: Wed, 16 Nov 2022 17:54:47 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E5=AE=8C=E6=88=90=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E5=8F=91=E5=B8=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 98 ++++++++++++++++++++-------------------- pom.xml | 2 +- 2 files changed, 50 insertions(+), 50 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 69ba885a..95ff72b6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,53 +1,53 @@ +## +## Copyright 2009-2021 the original author or authors. +## +## Licensed under the Apache License, Version 2.0 (the "License"); +## you may not use this file except in compliance with the License. +## You may obtain a copy of the License at +## +## http://www.apache.org/licenses/LICENSE-2.0 +## +## Unless required by applicable law or agreed to in writing, software +## distributed under the License is distributed on an "AS IS" BASIS, +## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +## See the License for the specific language governing permissions and +## limitations under the License. +## # -# Copyright 2009-2021 the original author or authors. +#name: Java CI # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +#on: [push, pull_request] # -# http://www.apache.org/licenses/LICENSE-2.0 +#jobs: +# test: +# runs-on: ubuntu-latest +# strategy: +# matrix: +# java: [ 8, 11, 17] +# distribution: [ 'adopt' ] +# fail-fast: false +# max-parallel: 4 +# name: Test JDK ${{ matrix.java }} # -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -name: Java CI - -on: [push, pull_request] - -jobs: - test: - runs-on: ubuntu-latest - strategy: - matrix: - java: [ 8, 11, 17] - distribution: [ 'adopt' ] - fail-fast: false - max-parallel: 4 - name: Test JDK ${{ matrix.java }} - - steps: - - uses: actions/checkout@main - - name: Set up JDK - uses: actions/setup-java@main - with: - java-version: ${{ matrix.java }} - distribution: ${{ matrix.distribution }} - - name: Cache local Maven m2 - uses: actions/cache@v3 - with: - path: ~/.m2 - key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} - restore-keys: | - ${{ runner.os }}-m2 - - name: Chmod - run: chmod +x mvnw - - name: Test with Maven - run: ./mvnw test -B -Dmaven.test.skip=false - - name: Maven Build - run: ./mvnw install -B -V - - name: Java Doc - run: ./mvnw javadoc:javadoc +# steps: +# - uses: actions/checkout@main +# - name: Set up JDK +# uses: actions/setup-java@main +# with: +# java-version: ${{ matrix.java }} +# distribution: ${{ matrix.distribution }} +# - name: Cache local Maven m2 +# uses: actions/cache@v3 +# with: +# path: ~/.m2 +# key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} +# restore-keys: | +# ${{ runner.os }}-m2 +# - name: Chmod +# run: chmod +x mvnw +# - name: Test with Maven +# run: ./mvnw test -B -Dmaven.test.skip=false +# - name: Maven Build +# run: ./mvnw install -B -V +# - name: Java Doc +# run: ./mvnw javadoc:javadoc diff --git a/pom.xml b/pom.xml index 96d7f698..1c0b667d 100644 --- a/pom.xml +++ b/pom.xml @@ -410,7 +410,7 @@ ossrh https://oss.sonatype.org/ - true + false From ba2380f493c95fffca6137f6d09ad357b630af2f Mon Sep 17 00:00:00 2001 From: Jiaju Zhuang Date: Wed, 16 Nov 2022 18:47:05 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E5=AE=8C=E6=88=90=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E5=8F=91=E5=B8=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b2475e02..3051a057 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,10 +36,10 @@ jobs: server-id: ossrh server-username: MAVEN_USERNAME server-password: MAVEN_PASSWORD - - name: Cache local Maven m2 + - name: Cache local Maven repository uses: actions/cache@v3 with: - path: ~/.m2 + path: ~/.m2/repository key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} restore-keys: | ${{ runner.os }}-m2 From 8f4f37a939670ac91df27fd31f46609cb1f72b56 Mon Sep 17 00:00:00 2001 From: Jiaju Zhuang Date: Wed, 16 Nov 2022 18:49:28 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E5=AE=8C=E6=88=90=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E5=8F=91=E5=B8=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 98 ++++++++++++++++++++-------------------- pom.xml | 2 +- 2 files changed, 50 insertions(+), 50 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 95ff72b6..cc68ecf9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,53 +1,53 @@ -## -## Copyright 2009-2021 the original author or authors. -## -## Licensed under the Apache License, Version 2.0 (the "License"); -## you may not use this file except in compliance with the License. -## You may obtain a copy of the License at -## -## http://www.apache.org/licenses/LICENSE-2.0 -## -## Unless required by applicable law or agreed to in writing, software -## distributed under the License is distributed on an "AS IS" BASIS, -## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -## See the License for the specific language governing permissions and -## limitations under the License. -## # -#name: Java CI +# Copyright 2009-2021 the original author or authors. # -#on: [push, pull_request] +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at # -#jobs: -# test: -# runs-on: ubuntu-latest -# strategy: -# matrix: -# java: [ 8, 11, 17] -# distribution: [ 'adopt' ] -# fail-fast: false -# max-parallel: 4 -# name: Test JDK ${{ matrix.java }} +# http://www.apache.org/licenses/LICENSE-2.0 # -# steps: -# - uses: actions/checkout@main -# - name: Set up JDK -# uses: actions/setup-java@main -# with: -# java-version: ${{ matrix.java }} -# distribution: ${{ matrix.distribution }} -# - name: Cache local Maven m2 -# uses: actions/cache@v3 -# with: -# path: ~/.m2 -# key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} -# restore-keys: | -# ${{ runner.os }}-m2 -# - name: Chmod -# run: chmod +x mvnw -# - name: Test with Maven -# run: ./mvnw test -B -Dmaven.test.skip=false -# - name: Maven Build -# run: ./mvnw install -B -V -# - name: Java Doc -# run: ./mvnw javadoc:javadoc +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +name: Java CI + +on: [push, pull_request] + +jobs: + test: + runs-on: ubuntu-latest + strategy: + matrix: + java: [ 8, 11, 17] + distribution: [ 'adopt' ] + fail-fast: false + max-parallel: 4 + name: Test JDK ${{ matrix.java }} + + steps: + - uses: actions/checkout@main + - name: Set up JDK + uses: actions/setup-java@main + with: + java-version: ${{ matrix.java }} + distribution: ${{ matrix.distribution }} + - name: Cache local Maven repository + uses: actions/cache@v3 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} + restore-keys: | + ${{ runner.os }}-m2 + - name: Chmod + run: chmod +x mvnw + - name: Test with Maven + run: ./mvnw test -B -Dmaven.test.skip=false + - name: Maven Build + run: ./mvnw install -B -V + - name: Java Doc + run: ./mvnw javadoc:javadoc diff --git a/pom.xml b/pom.xml index 1c0b667d..96d7f698 100644 --- a/pom.xml +++ b/pom.xml @@ -410,7 +410,7 @@ ossrh https://oss.sonatype.org/ - false + true