File tree Expand file tree Collapse file tree 3 files changed +5
-9
lines changed Expand file tree Collapse file tree 3 files changed +5
-9
lines changed Original file line number Diff line number Diff line change 21
21
server-id : ossrh # Value of the distributionManagement/repository/id field of the pom.xml
22
22
server-username : MAVEN_USERNAME # env variable for username in deploy
23
23
server-password : MAVEN_PASSWORD # env variable for token in deploy
24
- gpg-private-key : ${{ secrets.RELEASES_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
25
- gpg-passphrase : MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
26
24
- name : Verify project version = ${{ github.event.inputs.tag }}
27
25
run : |
28
26
PROJECT_VERSION=$(./mvnw help:evaluate "-Dexpression=project.version" -q -DforceStdout)
32
30
env :
33
31
MAVEN_USERNAME : ${{ secrets.OSSRH_USERNAME }}
34
32
MAVEN_PASSWORD : ${{ secrets.OSSRH_PASSWORD }}
35
- MAVEN_GPG_PASSPHRASE : ${{ secrets.RELEASES_GPG_PASSPHRASE }}
33
+ MAVEN_GPG_PASSPHRASE : ${{ secrets.RELEASES_GPG_PASSPHRASE }}
34
+ MAVEN_GPG_KEY : ${{ secrets.RELEASES_GPG_PRIVATE_KEY }}
Original file line number Diff line number Diff line change 13
13
java-version : 21
14
14
distribution : ' zulu'
15
15
cache : ' maven'
16
- gpg-private-key : ${{ secrets.RELEASES_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
17
- gpg-passphrase : MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
18
16
- name : Verify project version = ${{ github.event.release.tag_name }}
19
17
run : |
20
18
PROJECT_VERSION=$(./mvnw help:evaluate "-Dexpression=project.version" -q -DforceStdout)
24
22
env :
25
23
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
26
24
MAVEN_GPG_PASSPHRASE : ${{ secrets.RELEASES_GPG_PASSPHRASE }}
25
+ MAVEN_GPG_KEY : ${{ secrets.RELEASES_GPG_PRIVATE_KEY }}
27
26
- name : Slack Notification
28
27
uses : rtCamp/action-slack-notify@v2
29
28
env :
Original file line number Diff line number Diff line change 320
320
<goal >sign</goal >
321
321
</goals >
322
322
<configuration >
323
- <gpgArguments >
324
- <arg >--pinentry-mode</arg >
325
- <arg >loopback</arg >
326
- </gpgArguments >
323
+ <signer >bc</signer >
324
+ <keyFingerprint >58117AFA1F85B3EEC154677D615D449FE6E6A235</keyFingerprint >
327
325
</configuration >
328
326
</execution >
329
327
</executions >
You can’t perform that action at this time.
0 commit comments