We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2faeaad commit a2f4cf0Copy full SHA for a2f4cf0
2 files changed
.github/workflows/ci.yml
@@ -46,9 +46,11 @@ jobs:
46
server-username: CENTRAL_USERNAME
47
server-password: CENTRAL_PASSWORD
48
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
49
+ gpg-passphrase: GPG_PASSPHRASE
50
51
- name: Publish
52
run: mvn -B deploy -DskipTests
53
env:
54
CENTRAL_USERNAME: ${{ secrets.CENTRAL_USERNAME }}
55
CENTRAL_PASSWORD: ${{ secrets.CENTRAL_PASSWORD }}
56
+ GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
pom.xml
@@ -111,6 +111,13 @@
111
<goals><goal>sign</goal></goals>
112
</execution>
113
</executions>
114
+ <configuration>
115
+ <gpgArguments>
116
+ <arg>--batch</arg>
117
+ <arg>--pinentry-mode</arg>
118
+ <arg>loopback</arg>
119
+ </gpgArguments>
120
+ </configuration>
121
</plugin>
122
123
<!-- Central publishing plugin -->
0 commit comments