File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 14
14
15
15
- name : Install gpg secret key
16
16
run : |
17
- cat <(echo -e "${{ secrets.SIGNING_KEY }}") | gpg --batch --import
17
+ cat <(echo -e "${{ secrets.MAVEN_KEY }}") | gpg --batch --import
18
18
19
19
- name : Set up Maven Central Repository
20
20
uses : actions/setup-java@v4
@@ -24,17 +24,17 @@ jobs:
24
24
server-id : central
25
25
server-username : MAVEN_USERNAME
26
26
server-password : MAVEN_PASSWORD
27
- gpg-private-key : ${{ secrets.SIGNING_KEY }}
27
+ gpg-private-key : ${{ secrets.MAVEN_KEY }}
28
28
gpg-passphrase : MAVEN_GPG_PASSPHRASE
29
29
30
30
- name : Publish package
31
31
run : |
32
32
mvn \
33
33
--no-transfer-progress \
34
34
--batch-mode \
35
- -Dgpg.passphrase=${{ secrets.SIGNING_PASSWORD }} \
35
+ -Dgpg.passphrase=${{ secrets.MAVEN_KEY_PASSWORD }} \
36
36
clean deploy -P release-sign-artifacts -e
37
37
env :
38
- MAVEN_USERNAME : ${{ secrets.NEXUS_USERNAME }}
39
- MAVEN_PASSWORD : ${{ secrets.NEXUS_PASSWORD }}
40
- MAVEN_GPG_PASSPHRASE : ${{ secrets.SIGNING_PASSWORD }}
38
+ MAVEN_USERNAME : ${{ secrets.MAVEN_USERNAME }}
39
+ MAVEN_PASSWORD : ${{ secrets.MAVEN_PASSWORD }}
40
+ MAVEN_GPG_PASSPHRASE : ${{ secrets.MAVEN_KEY_PASSWORD }}
You can’t perform that action at this time.
0 commit comments