Skip to content

Commit 20dbc89

Browse files
committed
test dry-run release to validate gpg + sonatype creds (4th round)
1 parent bcd7b33 commit 20dbc89

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/maven-release.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,16 @@ jobs:
5757
5858
- name: Check 2 Verify GPG Key & Passphrase (Local Signing)
5959
run: |
60+
echo "=== DIAGNOSTIC : List of secrets keys imported ==="
61+
gpg --list-secret-keys
62+
63+
echo "=== Maven verification ==="
6064
mvn clean verify -B -ntp \
6165
-DskipTests=true \
6266
-Dmaven.javadoc.skip=true \
63-
-Dgpg.passphrase="${{ secrets.SONATYPE_GPG_PASSPHRASE }}"
67+
-Dgpg.passphrase="$GPG_PASSPHRASE"
68+
env:
69+
GPG_PASSPHRASE: ${{ secrets.SONATYPE_GPG_PASSPHRASE }}
6470

6571
# - name: Run Maven Release
6672
# run: |

0 commit comments

Comments
 (0)