Skip to content

Commit 5617f7d

Browse files
committed
modify
1 parent 60e1246 commit 5617f7d

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Publish to Maven
2626
run: |
2727
gpg --list-secret-keys --keyid-format LONG
28-
mvn -e -X deploy -DaltDeploymentRepository=local::default::file://${{ github.workspace }}/local-repo
28+
mvn deploy -DaltDeploymentRepository=local::default::file://${{ github.workspace }}/local-repo
2929
# run: mvn -B deploy
3030
env:
3131
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}

pom.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,13 @@
127127
</goals>
128128
</execution>
129129
</executions>
130+
<configuration>
131+
<!-- Prevent gpg from using pinentry programs -->
132+
<gpgArguments>
133+
<arg>--pinentry-mode</arg>
134+
<arg>loopback</arg>
135+
</gpgArguments>
136+
</configuration>
130137
</plugin>
131138
<!--部署插件-->
132139
<!-- <plugin>

0 commit comments

Comments
 (0)