File tree Expand file tree Collapse file tree 3 files changed +4
-9
lines changed Expand file tree Collapse file tree 3 files changed +4
-9
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
3533 --add-opens=java.desktop/java.awt.font=ALL-UNNAMED
3634 MAVEN_USERNAME : ${{ secrets.OSSRH_USERNAME }}
3735 MAVEN_PASSWORD : ${{ secrets.OSSRH_PASSWORD }}
38- MAVEN_GPG_PASSPHRASE : ${{ secrets.RELEASES_GPG_PASSPHRASE }}
36+ MAVEN_GPG_PASSPHRASE : ${{ secrets.RELEASES_GPG_PASSPHRASE }}
37+ MAVEN_GPG_KEY : ${{ secrets.RELEASES_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
Original file line number Diff line number Diff line change @@ -13,15 +13,14 @@ 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 }} # Value of the GPG private key to import
2524 - name : Slack Notification
2625 uses : rtCamp/action-slack-notify@v2
2726 env :
Original file line number Diff line number Diff line change 171171 <goal >sign</goal >
172172 </goals >
173173 <configuration >
174- <gpgArguments >
175- <arg >--pinentry-mode</arg >
176- <arg >loopback</arg >
177- </gpgArguments >
174+ <signer >bc</signer >
178175 </configuration >
179176 </execution >
180177 </executions >
You can’t perform that action at this time.
0 commit comments