Skip to content

Commit 4523150

Browse files
authored
Fix Maven Central publish signing in release workflow (#4)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
1 parent b8f12d2 commit 4523150

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,4 @@ jobs:
6666
env:
6767
CENTRAL_TOKEN_USERNAME: ${{ secrets.CENTRAL_TOKEN_USERNAME }}
6868
CENTRAL_TOKEN_PASSWORD: ${{ secrets.CENTRAL_TOKEN_PASSWORD }}
69-
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
69+
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}

pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,12 @@
197197
<groupId>org.apache.maven.plugins</groupId>
198198
<artifactId>maven-gpg-plugin</artifactId>
199199
<version>3.2.7</version>
200+
<configuration>
201+
<gpgArguments>
202+
<arg>--pinentry-mode</arg>
203+
<arg>loopback</arg>
204+
</gpgArguments>
205+
</configuration>
200206
<executions>
201207
<execution>
202208
<id>sign-artifacts</id>

0 commit comments

Comments
 (0)