File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 1818 MAVEN_USERNAME : ${{ secrets.OSSRH_USERNAME }}
1919 MAVEN_PASSWORD : ${{ secrets.OSSRH_PASSWORD }}
2020 MAVEN_GPG_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
21+ MAVEN_GPG_FINGERPRINT : ${{ secrets.GPG_FINGERPRINT }}
2122
2223 steps :
2324 - uses : radcortez/project-metadata-action@main
4344 gpg-private-key : ${{ secrets.GPG_PRIVATE_KEY }}
4445 gpg-passphrase : MAVEN_GPG_PASSPHRASE
4546
47+ - name : GPG sanity check
48+ run : |
49+ gpg --list-secret-keys --keyid-format LONG
50+ echo "test" | gpg --batch --yes --pinentry-mode loopback \
51+ --passphrase "$MAVEN_GPG_PASSPHRASE" \
52+ --local-user "$MAVEN_GPG_FINGERPRINT" \
53+ --clearsign > /dev/null
54+
4655 - name : Configure Git author
4756 run : |
4857 git config --local user.email "[email protected] "
You can’t perform that action at this time.
0 commit comments