From a54bdca63af107bc0ec9f4c4fb755b74cdf215b2 Mon Sep 17 00:00:00 2001 From: caobaoyu Date: Mon, 25 Sep 2023 09:56:28 +0800 Subject: [PATCH] add jdk21 workflow --- .github/workflows/jcommon_package.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/jcommon_package.yml b/.github/workflows/jcommon_package.yml index 327c4abea..59778c791 100644 --- a/.github/workflows/jcommon_package.yml +++ b/.github/workflows/jcommon_package.yml @@ -35,4 +35,17 @@ jobs: #settings-properties: '[{"propertyName1": "propertyValue1"}, {"propertyName2": "propertyValue2"}]' - run: echo ' false ossrh ossrh-snapshot https://s01.oss.sonatype.org/content/repositories/snapshots ossrh ossrh-snapshot https://s01.oss.sonatype.org/content/repositories/snapshots artifactory artifactory github ${env.GITHUB_ACTOR} ${env.GITHUB_TOKEN} ' > ~/.m2/settings.xml - - run: cd jcommon; mvn -U clean package --fail-at-end -Dmaven.test.skip=true -pl 'docean' \ No newline at end of file + - run: cd jcommon; mvn -U clean package --fail-at-end -Dmaven.test.skip=true -pl 'docean' + + check-build-21: + name: Jcommon test 21 + runs-on: ubuntu-latest + steps: + - name: Setup Maven Action + uses: s4u/setup-maven-action@v1.7.0 + with: + java-version: 21 + #settings-properties: '[{"propertyName1": "propertyValue1"}, {"propertyName2": "propertyValue2"}]' + + - run: echo ' false ossrh ossrh-snapshot https://s01.oss.sonatype.org/content/repositories/snapshots ossrh ossrh-snapshot https://s01.oss.sonatype.org/content/repositories/snapshots artifactory artifactory github ${env.GITHUB_ACTOR} ${env.GITHUB_TOKEN} ' > ~/.m2/settings.xml + - run: cd jcommon; mvn -U clean package --fail-at-end -Dmaven.test.skip=true \ No newline at end of file