We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 60482c9 commit 3a2d7e9Copy full SHA for 3a2d7e9
1 file changed
.github/workflows/maven-central.yml
@@ -23,17 +23,21 @@ jobs:
23
with:
24
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
25
passphrase: ${{ secrets.GPG_PASSPHRASE }}
26
+ git_user_signingkey: true
27
28
- name: Build and Publish
29
env:
30
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME_TOKEN }}
31
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD_TOKEN }}
32
+ GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
33
run: |
34
echo "Starting Maven build and deploy..."
35
mvn clean deploy -P release \
36
-Dmaven.javadoc.skip=false \
37
-Dmaven.deploy.skip=false \
38
-Dgpg.passphrase=${{ secrets.GPG_PASSPHRASE }} \
39
+ -Dgpg.executable=gpg \
40
+ -Dgpg.keyname=${{ secrets.GPG_KEYNAME }} \
41
-Dmaven.test.failure.ignore=false
42
43
echo "Checking deployment status..."
0 commit comments