We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac60510 commit 6c3c110Copy full SHA for 6c3c110
2 files changed
.github/workflows/maven-publish.yml
@@ -5,8 +5,8 @@ name: Maven Package
5
6
on:
7
push:
8
- branches:
9
- - revilwang-patch-1
+ tags:
+ - '*'
10
11
jobs:
12
build:
@@ -41,10 +41,7 @@ jobs:
41
gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
42
43
- name: Publish to Apache Maven Central
44
- run: |
45
- mvn --version
46
- gpg --version
47
- mvn deploy
+ run: mvn deploy
48
env:
49
MAVEN_USERNAME: Cqjifrr7
50
MAVEN_CENTRAL_TOKEN: ${{ secrets.MAVEN_CENTRAL_TOKEN }}
pom.xml
@@ -190,7 +190,7 @@
190
<configuration>
191
<serverId>ossrh</serverId>
192
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
193
- <autoReleaseAfterClose>false</autoReleaseAfterClose>
+ <autoReleaseAfterClose>true</autoReleaseAfterClose>
194
</configuration>
195
</plugin>
196
<plugin>
0 commit comments