File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 1919 cache : ' maven'
2020 - id : install-secret-key
2121 name : Install gpg secret key
22- run : cat <(echo -e "${{ secrets.OSSRH_GPG_SECRET_KEY }}") | gpg --batch --import
22+ run : |
23+ # The key to assing to OSSRH_GPG_SECRET_KEY can be got running on your PC: gpg -a --export-secret-keys KEY_ID
24+ # The KEY_ID can be got from the GPG Keyhain.
25+ # The OSSRH_GPG_SECRET_KEY_PASSWORD is in macOS keychain (GPG Key password)
26+ # OSSRH_USERNAME and OSSRH_TOKEN (password) and is available at ~/.m2/settings.xml
27+ cat <(echo -e "${{ secrets.OSSRH_GPG_SECRET_KEY }}") | gpg --batch --import
28+ gpg --list-keys
2329 - name : Publish package
2430 run : |
2531 # Set some environment variables needed by Nexus Staging Maven plugin on JDK 17,
You can’t perform that action at this time.
0 commit comments