File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 5656 distribution : temurin
5757 gpg-private-key : ${{ secrets.GPG_SIGNING_KEY }}
5858 java-version : ' 8'
59+ - name : Prepare keyring
60+ run : gpg --export-secret-keys -o $HOME/.gnupg/secring.gpg
5961 - name : Deploy
60- 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=$HOME/.gnupg/pubring.kbx
62+ 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=$HOME/.gnupg/secring.gpg
You can’t perform that action at this time.
0 commit comments