File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,14 +22,14 @@ jobs:
2222 run : |
2323 cat <(echo -e "${{ secrets.GPG_SECRET_KEY }}") | gpg --batch --import
2424 gpg --list-secret-keys --keyid-format LONG
25- # - id: publish-to-central
26- # name: Publish to Central Repository
27- # env:
28- # MAVEN_USERNAME: ${{ secrets.CENTRAL_MAVEN_USERNAME }}
29- # MAVEN_PASSWORD: ${{ secrets.CENTRAL_MAVEN_PASSWORD }}
30- # run: |
31- # mvn \
32- # -Dgpg.keyname=${{ secrets.GPG_KEY_NAME }} \
33- # -Dgpg.passphrase=${{ secrets.GPG_PASSWORD_KEY }} \
34- # -DskipTests \
35- # clean deploy
25+ - id : publish-to-central
26+ name : Publish to Central Repository
27+ env :
28+ MAVEN_USERNAME : ${{ secrets.CENTRAL_MAVEN_USERNAME }}
29+ MAVEN_PASSWORD : ${{ secrets.CENTRAL_MAVEN_PASSWORD }}
30+ run : |
31+ mvn \
32+ -Dgpg.keyname=${{ secrets.GPG_KEY_NAME }} \
33+ -Dgpg.passphrase=${{ secrets.GPG_PASSWORD_KEY }} \
34+ -DskipTests \
35+ clean deploy
You can’t perform that action at this time.
0 commit comments