File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 2727 server-password : OSSRH_PASSWORD
2828 settings-path : ${{ github.workspace }}
2929
30+ - name : Install gpg secret key
31+ run : |
32+ # Install gpg secret key
33+ cat <(echo -e "${{ secrets.MAVEN_GPG_PRIVATE_KEY }}") | gpg --batch --import
34+ # Verify gpg secret key
35+ gpg --list-secret-keys --keyid-format LONG
36+
3037 -
uses :
webfactory/[email protected] 3138 with :
3239 ssh-private-key : ${{ secrets.TAG_SSH_KEY }}
3542 run : mvn clean release:clean release:prepare release:perform -B -DaltDeploymentRepository=ossrh::https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/ -Darguments="-Ddevelop.api.key=${{ secrets.DEVELOP_SERVER_API_KEY }} -Dprod.na1.api.key=${{ secrets.PROD_EU1_SERVER_API_KEY }} -Dprod.eu1.api.key=${{ secrets.PROD_NA1_SERVER_API_KEY }}" -P release
3643 env :
3744 OSSRH_USERNAME : ${{ secrets.DISTRIBUTION_REPOSITORY_RELEASE_USERNAME }}
38- OSSRH_PASSWORD : ${{ secrets.DISTRIBUTION_REPOSITORY_RELEASE_PASSWORD }}
39- MAVEN_GPG_KEY : ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
45+ OSSRH_PASSWORD : ${{ secrets.DISTRIBUTION_REPOSITORY_RELEASE_PASSWORD }}
You can’t perform that action at this time.
0 commit comments