Skip to content

Commit 420320f

Browse files
author
wuweilin
committed
修改命令
1 parent 9380da8 commit 420320f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
with:
2121
distribution: 'temurin'
2222
java-version: '17'
23-
server-id: central
23+
server-id: snapshots
2424
server-username: SERVER_USERNAME
2525
server-password: SERVER_PASSWORD
26-
gpg-private-key: ${{ secrets.GPG_SECRET }}
26+
gpg-private-key: GPG_SECRET
2727
gpg-passphrase: GPG_PASSPHRASE
2828

2929
# 获取 Maven 项目版本号
@@ -39,6 +39,7 @@ jobs:
3939
SERVER_USERNAME: ${{ secrets.SERVER_USERNAME }}
4040
SERVER_PASSWORD: ${{ secrets.SERVER_PASSWORD }}
4141
GPG_PASSPHRASE: ${{ secrets.GPG_PASSWORD }}
42+
GPG_SECRET: ${{ secrets.GPG_SECRET }}
4243

4344
# 创建 Release(自动附带 Source code (zip/tar.gz))
4445
- name: Create Release

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@
165165
<plugin>
166166
<groupId>org.apache.maven.plugins</groupId>
167167
<artifactId>maven-gpg-plugin</artifactId>
168-
<version>1.1</version>
168+
<version>3.2.8</version>
169169
<configuration>
170170
<passphrase></passphrase>
171171
</configuration>

0 commit comments

Comments
 (0)