File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -27,12 +27,12 @@ jobs:
2727 server-id : central # Value of the distributionManagement/repository/id field of the pom.xml
2828 server-username : SONATYPE_USERNAME
2929 server-password : SONATYPE_PASSWORD
30- gpg-private-key : ${{ secrets.PGP_SECRET }} # has to be read directly from secrets
30+ gpg-private-key : ${{ secrets.GPG_PRIVATE_KEY }} # has to be read directly from secrets
3131 gpg-passphrase : MAVEN_GPG_PASSPHRASE # default name used by maven-gpg-plugin
3232
3333 - name : Release
3434 run : mvn -ntp -B release:clean release:prepare release:perform -P release -Darguments="-DskipTests"
3535 env :
3636 SONATYPE_USERNAME : ${{ secrets.SONATYPE_USERNAME }}
3737 SONATYPE_PASSWORD : ${{ secrets.SONATYPE_PASSWORD }}
38- MAVEN_GPG_PASSPHRASE : ${{ secrets.PGP_PASSPHRASE }}
38+ MAVEN_GPG_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
Original file line number Diff line number Diff line change @@ -19,11 +19,11 @@ jobs:
1919 server-id : central # Value of the distributionManagement/repository/id field of the pom.xml
2020 server-username : SONATYPE_USERNAME
2121 server-password : SONATYPE_PASSWORD
22- gpg-private-key : ${{ secrets.PGP_SECRET }} # has to be read directly from secrets
22+ gpg-private-key : ${{ secrets.GPG_PRIVATE_KEY }} # has to be read directly from secrets
2323 gpg-passphrase : MAVEN_GPG_PASSPHRASE # default name used by maven-gpg-plugin
2424 - name : Deploy snapshot
2525 run : mvn -ntp -B clean deploy -P release -Darguments="-DskipTests"
2626 env :
2727 SONATYPE_USERNAME : ${{ secrets.SONATYPE_USERNAME }}
2828 SONATYPE_PASSWORD : ${{ secrets.SONATYPE_PASSWORD }}
29- MAVEN_GPG_PASSPHRASE : ${{ secrets.PGP_PASSPHRASE }}
29+ MAVEN_GPG_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
You can’t perform that action at this time.
0 commit comments