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 2626 server-id : ossrh # Value of the distributionManagement/repository/id field of the pom.xml
2727 server-username : MAVEN_USERNAME # env variable for username in deploy
2828 server-password : MAVEN_PASSWORD # env variable for token in deploy
29- gpg-private-key : ${{ secrets.RELEASES_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
30- gpg-passphrase : MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
3129 - name : Enforce project version ${{ github.event.inputs.tag }}
3230 run : mvn versions:set -B -DnewVersion="${{ github.event.inputs.tag }}"
3331 - name : Deploy
4038 --add-opens=java.desktop/java.awt.font=ALL-UNNAMED
4139 MAVEN_USERNAME : ${{ secrets.OSSRH_USERNAME }}
4240 MAVEN_PASSWORD : ${{ secrets.OSSRH_PASSWORD }}
43- MAVEN_GPG_PASSPHRASE : ${{ secrets.RELEASES_GPG_PASSPHRASE }}
41+ MAVEN_GPG_PASSPHRASE : ${{ secrets.RELEASES_GPG_PASSPHRASE }}
42+ MAVEN_GPG_KEY : ${{ secrets.RELEASES_GPG_PRIVATE_KEY }}
Original file line number Diff line number Diff line change @@ -18,15 +18,14 @@ jobs:
1818 distribution : ' temurin'
1919 java-version : 22
2020 cache : ' maven'
21- gpg-private-key : ${{ secrets.RELEASES_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
22- gpg-passphrase : MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
2321 - name : Enforce project version ${{ github.event.release.tag_name }}
2422 run : mvn versions:set -B -DnewVersion="${{ github.event.release.tag_name }}"
2523 - name : Deploy
2624 run : mvn deploy -B -DskipTests -Psign,deploy-github --no-transfer-progress
2725 env :
2826 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2927 MAVEN_GPG_PASSPHRASE : ${{ secrets.RELEASES_GPG_PASSPHRASE }}
28+ MAVEN_GPG_KEY : ${{ secrets.RELEASES_GPG_PRIVATE_KEY }}
3029 notify :
3130 runs-on : ubuntu-latest
3231 needs : [publish]
Original file line number Diff line number Diff line change 339339 <goal >sign</goal >
340340 </goals >
341341 <configuration >
342- <gpgArguments >
343- <arg >--pinentry-mode</arg >
344- <arg >loopback</arg >
345- </gpgArguments >
342+ <signer >bc</signer >
346343 </configuration >
347344 </execution >
348345 </executions >
You can’t perform that action at this time.
0 commit comments