From 133a82167cebe4554789ac6aac604de9e62d04a3 Mon Sep 17 00:00:00 2001 From: yutaipu Date: Mon, 14 Sep 2020 16:07:43 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E5=8A=A8=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/maven.yml | 7 ++++--- pom.xml | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 126ba84..ea20c57 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -1,7 +1,8 @@ name: Publish package to the Maven Central Repository on: - release: - types: [published] + push: + branches: + - master jobs: publish: @@ -28,7 +29,7 @@ jobs: gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase - name: Publish to Apache Maven Central - run: mvn deploy -Dmaven.test.skip + run: mvn -X deploy -Dmaven.test.skip env: MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }} diff --git a/pom.xml b/pom.xml index e5b3c6a..234fb83 100644 --- a/pom.xml +++ b/pom.xml @@ -34,7 +34,7 @@ https://github.com/jpush/jiguang-java-client-common scm:git:git@github.com:jpush/jiguang-java-client-common.git scm:git:git@github.com:jpush/jiguang-java-client-common.git - jiguang-common-1.1.8 + v1.1.9