File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -46,12 +46,17 @@ jobs:
4646 <username>${CENTRAL_USERNAME}</username>
4747 <password>${CENTRAL_TOKEN}</password>
4848 </server>
49+ <server>
50+ <id>gpg.passphrase</id>
51+ <passphrase>${GPG_PASSPHRASE}</passphrase>
52+ </server>
4953 </servers>
5054 </settings>
5155 EOF
5256 env :
5357 CENTRAL_USERNAME : ${{ secrets.CENTRAL_USERNAME }}
5458 CENTRAL_TOKEN : ${{ secrets.CENTRAL_TOKEN }}
59+ GPG_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
5560
5661 - name : Verify Maven settings and credentials
5762 run : |
Original file line number Diff line number Diff line change 290290 <gpgArguments >
291291 <arg >--pinentry-mode</arg >
292292 <arg >loopback</arg >
293+ <arg >--batch</arg >
294+ <arg >--yes</arg >
293295 </gpgArguments >
296+ <passphraseServerId >gpg.passphrase</passphraseServerId >
294297 </configuration >
295298 </execution >
296299 </executions >
You can’t perform that action at this time.
0 commit comments