Skip to content

Commit a84291a

Browse files
committed
Release v0.0.3
1 parent e556115 commit a84291a

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.github/workflows/maven.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
server-username: OSSRH_USERNAME
2323
server-password: OSSRH_PASSWORD
2424
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
25-
gpg-passphrase: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
25+
gpg-passphrase: MAVEN_GPG_PASSPHRASE
2626
- name: Build with Maven
2727
run: mvn -B compile --file pom.xml
2828

@@ -37,7 +37,7 @@ jobs:
3737

3838
- name: Publish to Apache Maven Central
3939
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
40-
run: mvn -DskipTests --batch-mode deploy -Dgpg.passphrase=${{ secrets.MAVEN_GPG_PASSPHRASE }}
40+
run: mvn -DskipTests deploy
4141
env:
4242
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
4343
OSSRH_PASSWORD: ${{ secrets.OSSRH_TOKEN }}

pom.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,13 @@
144144
</goals>
145145
</execution>
146146
</executions>
147+
<configuration>
148+
<!-- Prevent gpg from using pinentry programs -->
149+
<gpgArguments>
150+
<arg>--pinentry-mode</arg>
151+
<arg>loopback</arg>
152+
</gpgArguments>
153+
</configuration>
147154
</plugin>
148155

149156
</plugins>

0 commit comments

Comments
 (0)