File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 19
19
java-version : ' 11'
20
20
distribution : ' temurin'
21
21
server-id : central
22
- server-username : ${{ secrets. MAVEN_CENTRAL_USERNAME }}
23
- server-password : ${{ secrets. MAVEN_CENTRAL_TOKEN }}
22
+ server-username : MAVEN_CENTRAL_USERNAME
23
+ server-password : MAVEN_CENTRAL_TOKEN
24
24
gpg-private-key : ${{ secrets.GPG_SECRET_KEY }}
25
25
gpg-passphrase : GPG_PASSPHRASE
26
26
30
30
- name : Publish to Maven Central
31
31
env :
32
32
GPG_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
33
- run : |
34
- gpg --list-keys
35
- mvn -X deploy -DskipTests -Dmaven.javadoc.skip=false
33
+ MAVEN_CENTRAL_USERNAME : ${{ secrets.MAVEN_CENTRAL_USERNAME }}
34
+ MAVEN_CENTRAL_TOKEN : ${{ secrets.MAVEN_CENTRAL_TOKEN }}
35
+ run : mvn -X deploy -DskipTests -Dmaven.javadoc.skip=false
You can’t perform that action at this time.
0 commit comments