File tree Expand file tree Collapse file tree 1 file changed +3
-15
lines changed
Expand file tree Collapse file tree 1 file changed +3
-15
lines changed Original file line number Diff line number Diff line change 2424 server-id : ossrh
2525 server-username : MAVEN_USER
2626 server-password : MAVEN_PASS
27- - name : Prepare signing certificate
28- env :
29- PUB_CERT : ${{ secrets.PUB_CERT }}
30- SIGNING_CERT : ${{ secrets.SIGNING_CERT }}
31- run : |
32- mkdir $RUNNER_TEMP/.gnupg
33- echo -n $PUB_CERT | base64 --decode > $RUNNER_TEMP/.gnupg/pubring.gpg
34- echo -n $SIGNING_CERT | base64 --decode > $RUNNER_TEMP/.gnupg/secring.gpg
27+ gpg-private-key : ${{ secrets.SIGNING_CERT }}
28+ gpg-passphrase : SIGNING_PASS
3529 - name : Release with Maven
3630 env :
3731 RELEASE_VERSION : ${{ github.event.milestone.title }}
4135 SIGNING_PASS : ${{ secrets.SIGNING_PASS }}
4236 run : |
4337 mvn -B release:prepare release:perform \
44- -DreleaseVersion=$RELEASE_VERSION \
45- -Darguments="-Dgpg.defaultKeyring=false \
46- -Dgpg.keyname=$SIGNING_KEY_ID \
47- -Dgpg.passphrase=$SIGNING_PASS \
48- -Dgpg.homedir=$RUNNER_TEMP/.gnupg"
49- - name : Clean up signing certificate
50- run : rm -rf $RUNNER_TEMP/.gnupg
38+ -DreleaseVersion=$RELEASE_VERSION
You can’t perform that action at this time.
0 commit comments