File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -17,11 +17,11 @@ jobs:
1717
1818 - name : Setup GPG key information
1919 run : |
20- echo "$GPG_SIGNING_KEY_PW" | gpg --batch --import --yes --passphrase-fd 0 <(echo -n "$GPG_SIGNING_KEY_B64" | base64 --decode)
2120 echo -n "signing.keyId=ABC48776" >> gradle.properties
2221 echo -n "signing.password=${GPG_SIGNING_KEY_PW}" >> gradle.properties
2322 echo -n "signing.secretKeyRingFile=../maven.keystore" >> gradle.properties
24- echo "$GPG_SIGNING_KEY_PW" | gpg --batch --export-secret-keys --passphrase-fd 0 > maven.keystore
23+ echo -n "$GPG_SIGNING_KEY_B64" | base64 --decode > ../maven.keystore
24+ cat ../maven.keystore
2525 env :
2626 GPG_SIGNING_KEY_B64 : ${{ secrets.GPG_PRIVATE_KEY_B64 }}
2727 GPG_SIGNING_KEY_PW : ${{ secrets.GPG_PASSPHRASE }}
3636 uses : gradle/actions/setup-gradle@v4
3737
3838 - name : Publish package
39- run : ./gradlew publishToSonatype closeSonatypeStagingRepository --stacktrace --debug
39+ run : ./gradlew publishToSonatype closeSonatypeStagingRepository
4040 env :
4141 ORG_GRADLE_PROJECT_sonatypeUsername : ${{ secrets.NEXUS_USERNAME }}
4242 ORG_GRADLE_PROJECT_sonatypePassword : ${{ secrets.NEXUS_PASSWORD }}
You can’t perform that action at this time.
0 commit comments