Skip to content

Commit d598666

Browse files
committed
modify workflow
1 parent df01aca commit d598666

2 files changed

Lines changed: 4 additions & 7 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ jobs:
2222
server-username: MAVEN_USERNAME
2323
gpg-passphrase: MAVEN_GPG_PASSPHRASE
2424
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
25+
- name: Set up Maven
26+
uses: stCarolas/setup-maven@v5
27+
with:
28+
maven-version: '3.6.3'
2529
- name: Publish to Maven
2630
run: |
2731
gpg --list-secret-keys --keyid-format LONG

pom.xml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -127,13 +127,6 @@
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>
137130
</plugin>
138131
<!--部署插件-->
139132
<!-- <plugin>

0 commit comments

Comments
 (0)