File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 5454 uses : actions/setup-java@v2
5555 with :
5656 distribution : temurin
57- gpg-private-key : " ${{ secrets.GPG_SIGNING_KEY }}"
57+ gpg-private-key : ${{ secrets.GPG_SIGNING_KEY }}
58+ gpg-passphrase : ${{ secrets.GPG_PASSPHRASE }}
5859 java-version : ' 8'
5960 - name : Deploy
60- run : ./gradlew publish -x test -PsonatypeUsername=${{ secrets.OSSRH_USERNAME }} -PsonatypePassword=${{ secrets.OSSRH_PASSWORD }} -Psigning.password=${{ secrets.GPG_PASSPHRASE }}
61+ run : ./gradlew publish -x test -PsonatypeUsername=${{ secrets.OSSRH_USERNAME }} -PsonatypePassword=${{ secrets.OSSRH_PASSWORD }} -Psigning.keyId=${{ secrets.GPG_SIGNING_KEY_ID }} -Psigning. password=${{ secrets.GPG_PASSPHRASE }} -Psigning.secretKeyRingFile=${{ GITHUB_WORKSPACE }}/.gnupg/secring.gpg
You can’t perform that action at this time.
0 commit comments