File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 2020 steps :
2121 - name : Checkout
2222 uses : actions/checkout@v2
23+ - name : Prepare GPG signing
24+ env :
25+ GPG_KEY_CONTENTS : ${{ secrets.GPG_KEY_CONTENTS }}
26+ SIGNING_SECRET_KEY_RING_FILE : ${{ secrets.GPG_SIGNING_SECRET_KEY_RING_FILE }}
27+ run : sudo bash -c "echo '$GPG_KEY_CONTENTS' | base64 -d > '$SIGNING_SECRET_KEY_RING_FILE'"
2328 - name : Setup Maven Central
2429 uses : actions/setup-java@v2
2530 with :
2833 server-id : ossrh
2934 server-username : MAVEN_USERNAME
3035 server-password : MAVEN_PASSWORD
31- gpg-private-key : ${{ secrets.GPG_KEY_CONTENTS }}
36+ gpg-private-key : ${{ secrets.GPG_SIGNING_SECRET_KEY_RING_FILE }}
3237 gpg-passphrase : GPG_PASSPHRASE
3338 - name : Publish release
3439 run : bash github-build.sh
You can’t perform that action at this time.
0 commit comments