pom
This commit is contained in:
8
.github/workflows/maven_snapshot.yml
vendored
8
.github/workflows/maven_snapshot.yml
vendored
@@ -25,6 +25,14 @@ jobs:
|
|||||||
server-password: ${{ secrets.OSSRHPASSWORD }}
|
server-password: ${{ secrets.OSSRHPASSWORD }}
|
||||||
gpg-private-key: ${{ secrets.OSSRH_GPG_SECRET_KEY }}
|
gpg-private-key: ${{ secrets.OSSRH_GPG_SECRET_KEY }}
|
||||||
gpg-passphrase: ${{ secrets.OSSRH_GPG_SECRET_PASSWORD }}
|
gpg-passphrase: ${{ secrets.OSSRH_GPG_SECRET_PASSWORD }}
|
||||||
|
- name: debug settings.xml
|
||||||
|
run: cat /home/runner/.m2/settings.xml
|
||||||
|
- name: Check if secret exists
|
||||||
|
run: |
|
||||||
|
if [[ -z "${{ secrets.OSSRH_GPG_SECRET_KEY }}" ]]; then
|
||||||
|
echo "Secret does not exist"
|
||||||
|
else
|
||||||
|
echo "Secret exists"
|
||||||
- name: Show the Gpg
|
- name: Show the Gpg
|
||||||
run: gpg --list-secret-keys
|
run: gpg --list-secret-keys
|
||||||
- name: Detail the Gpg
|
- name: Detail the Gpg
|
||||||
|
|||||||
Reference in New Issue
Block a user