Skip to content

Commit 133a821

Browse files
author
yutaipu
committed
自动化
1 parent 3305e8f commit 133a821

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/maven.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
name: Publish package to the Maven Central Repository
22
on:
3-
release:
4-
types: [published]
3+
push:
4+
branches:
5+
- master
56

67
jobs:
78
publish:
@@ -28,7 +29,7 @@ jobs:
2829
gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
2930

3031
- name: Publish to Apache Maven Central
31-
run: mvn deploy -Dmaven.test.skip
32+
run: mvn -X deploy -Dmaven.test.skip
3233
env:
3334
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
3435
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<url>https://github.com/jpush/jiguang-java-client-common</url>
3535
<connection>scm:git:[email protected]:jpush/jiguang-java-client-common.git</connection>
3636
<developerConnection>scm:git:[email protected]:jpush/jiguang-java-client-common.git</developerConnection>
37-
<tag>jiguang-common-1.1.8</tag>
37+
<tag>v1.1.9</tag>
3838
</scm>
3939

4040
<dependencies>

0 commit comments

Comments
 (0)