File tree Expand file tree Collapse file tree 1 file changed +5
-10
lines changed
Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -51,17 +51,12 @@ jobs:
5151 OSSRH_TOKEN_USERNAME : ${{ secrets.OSSRH_TOKEN_USERNAME }}
5252 OSSRH_TOKEN_PASSWORD : ${{ secrets.OSSRH_TOKEN_PASSWORD }}
5353
54- - name : Import GPG key
55- uses : crazy-max/ghaction-import-gpg@v6
56- with :
57- gpg_private_key : ${{ secrets.GPG_PRIVATE_KEY }}
58- passphrase : ${{ secrets.GPG_PASSPHRASE }}
59- trust_level : 5
60-
61- - name : Show Java and Maven versions
54+ - name : Configure GPG Key
6255 run : |
63- java -version
64- mvn -v
56+ echo "allow-loopback-pinentry" >> ~/.gnupg/gpg-agent.conf
57+ gpg-connect-agent reloadagent /bye
58+ echo "${{ secrets.GPG_PRIVATE_KEY }}" | gpg --batch --import
59+ echo "${{ secrets.GPG_PASSPHRASE }}" | gpg --batch --always-trust --yes --passphrase-fd 0 --pinentry-mode loopback -s -o /dev/null
6560
6661 - name : Deploy to Central Portal
6762 run : |
You can’t perform that action at this time.
0 commit comments