Skip to content

Commit 61969b4

Browse files
author
yanruhao
committed
修改action
1 parent a589faa commit 61969b4

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ jobs:
2424
server-id: central
2525
server-username: SERVER_USERNAME
2626
server-password: SERVER_PASSWORD
27-
gpg-private-key: ${{ secrets.GPG_SECRET }}
28-
gpg-passphrase: GPG_PASSPHRASE
27+
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
28+
gpg-passphrase: ${{ secrets.GPG_PASSPHRASE }}
2929

3030
# 获取 Maven 项目版本号
3131
- name: Extract project version
@@ -42,7 +42,6 @@ jobs:
4242
env:
4343
SERVER_USERNAME: ${{ secrets.SERVER_USERNAME }}
4444
SERVER_PASSWORD: ${{ secrets.SERVER_PASSWORD }}
45-
GPG_PASSPHRASE: ${{ secrets.GPG_PASSWORD }}
4645

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

pom.xml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -165,10 +165,7 @@
165165
<plugin>
166166
<groupId>org.apache.maven.plugins</groupId>
167167
<artifactId>maven-gpg-plugin</artifactId>
168-
<version>1.1</version>
169-
<configuration>
170-
<passphrase></passphrase>
171-
</configuration>
168+
<version>3.2.4</version>
172169
<executions>
173170
<execution>
174171
<id>sign-artifacts</id>

0 commit comments

Comments
 (0)