We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95012d1 commit b671b4eCopy full SHA for b671b4e
.github/workflows/publish.yml
@@ -23,10 +23,6 @@ jobs:
23
java-version: 17
24
distribution: 'temurin'
25
cache: maven
26
- server-id: sonatype-nexus-staging
27
- server-username: ${{ secrets.OSSRH_USER }}
28
- server-password: ${{ secrets.OSSRH_PASSWORD }}
29
- gpg-passphrase: ${{ secrets.GPG_PASSWORD }}
30
# 3. 发布到Maven中央仓库
31
- name: Publish to Maven Central Repo
32
# 这里用到了其他人写的action脚本,详细可以去看他的文档。
@@ -36,3 +32,5 @@ jobs:
36
gpg_passphrase: ${{ secrets.GPG_PASSWORD }}
37
33
nexus_username: ${{ secrets.OSSRH_USER }}
38
34
nexus_password: ${{ secrets.OSSRH_PASSWORD }}
35
+ server_id: ossrh
+ maven_goals_phases: clean deploy -DskipTests -Prelease
0 commit comments