Skip to content

Commit f976851

Browse files
committed
#initial-commit
1 parent 298a4ac commit f976851

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

.github/workflows/maven-publish.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ jobs:
2020
server-id: central
2121
server-username: MAVEN_CENTRAL_USERNAME
2222
server-password: MAVEN_CENTRAL_TOKEN
23-
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
24-
gpg-passphrase: ${{ secrets.GPG_PASSPHRASE }}
23+
gpg-private-key: GPG_PRIVATE_KEY
24+
gpg-passphrase: GPG_PASSPHRASE
2525

2626
- name: Import GPG key
2727
run: |
@@ -40,3 +40,5 @@ jobs:
4040
env:
4141
MAVEN_CENTRAL_USERNAME: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
4242
MAVEN_CENTRAL_TOKEN: ${{ secrets.MAVEN_CENTRAL_TOKEN }}
43+
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
44+
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}

pom.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -143,14 +143,14 @@
143143
<goals>
144144
<goal>sign</goal>
145145
</goals>
146+
<configuration>
147+
<gpgArguments>
148+
<arg>--pinentry-mode</arg>
149+
<arg>loopback</arg>
150+
</gpgArguments>
151+
</configuration>
146152
</execution>
147153
</executions>
148-
<configuration>
149-
<gpgArguments>
150-
<arg>--pinentry-mode</arg>
151-
<arg>loopback</arg>
152-
</gpgArguments>
153-
</configuration>
154154
</plugin>
155155
<plugin>
156156
<groupId>org.sonatype.central</groupId>

0 commit comments

Comments
 (0)