File tree Expand file tree Collapse file tree 3 files changed +6
-10
lines changed
Expand file tree Collapse file tree 3 files changed +6
-10
lines changed Original file line number Diff line number Diff line change 2121 server-id : ossrh # Value of the distributionManagement/repository/id field of the pom.xml
2222 server-username : MAVEN_USERNAME # env variable for username in deploy
2323 server-password : MAVEN_PASSWORD # env variable for token in deploy
24- gpg-private-key : ${{ secrets.RELEASES_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
25- gpg-passphrase : MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
2624 - name : Enforce project version ${{ github.event.inputs.tag }}
2725 run : mvn versions:set -B -DnewVersion=${{ github.event.inputs.tag }}
2826 - name : Deploy
3432 --add-opens=java.base/java.text=ALL-UNNAMED
3533 --add-opens=java.desktop/java.awt.font=ALL-UNNAMED
3634 MAVEN_USERNAME : ${{ secrets.OSSRH_USERNAME }}
37- MAVEN_PASSWORD : ${{ secrets.OSSRH_PASSWORD }}
38- MAVEN_GPG_PASSPHRASE : ${{ secrets.RELEASES_GPG_PASSPHRASE }}
35+ MAVEN_GPG_PASSPHRASE : ${{ secrets.RELEASES_GPG_PASSPHRASE }}
36+ MAVEN_GPG_KEY : ${{ secrets.RELEASES_GPG_PRIVATE_KEY }}
37+ MAVEN_GPG_KEY_FINGERPRINT : ${{ vars.RELEASES_GPG_KEY_FINGERPRINT }}
Original file line number Diff line number Diff line change @@ -13,15 +13,15 @@ jobs:
1313 distribution : ' temurin'
1414 java-version : 17
1515 cache : ' maven'
16- gpg-private-key : ${{ secrets.RELEASES_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
17- gpg-passphrase : MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
1816 - name : Enforce project version ${{ github.event.release.tag_name }}
1917 run : mvn versions:set -B -DnewVersion=${{ github.event.release.tag_name }}
2018 - name : Deploy
2119 run : mvn deploy -B -DskipTests -Psign,deploy-github --no-transfer-progress
2220 env :
2321 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2422 MAVEN_GPG_PASSPHRASE : ${{ secrets.RELEASES_GPG_PASSPHRASE }}
23+ MAVEN_GPG_KEY : ${{ secrets.RELEASES_GPG_PRIVATE_KEY }}
24+ MAVEN_GPG_KEY_FINGERPRINT : ${{ vars.RELEASES_GPG_KEY_FINGERPRINT }}
2525 notify :
2626 runs-on : ubuntu-latest
2727 needs : [publish]
Original file line number Diff line number Diff line change 316316 <goal >sign</goal >
317317 </goals >
318318 <configuration >
319- <gpgArguments >
320- <arg >--pinentry-mode</arg >
321- <arg >loopback</arg >
322- </gpgArguments >
319+ <signer >bc</signer >
323320 </configuration >
324321 </execution >
325322 </executions >
You can’t perform that action at this time.
0 commit comments