Skip to content

Commit 780445d

Browse files
committed
Update github-action
1 parent fd199a0 commit 780445d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/deploy.yml renamed to .github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Deploy to Maven Central
1+
name: Publish to Maven Central
22

33
on:
44
push:
@@ -23,5 +23,5 @@ jobs:
2323
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
2424
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
2525
run: |
26-
echo $GPG_PRIVATE_KEY | base64 --decode | gpg --import
26+
echo $GPG_PRIVATE_KEY | base64 --decode | gpg --import --batch --yes --pinentry-mode loopback --passphrase "$GPG_SIGNING_PASSPHRASE"
2727
mvn clean deploy -P release --settings .github/settings.xml

0 commit comments

Comments
 (0)