File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,16 +26,13 @@ jobs:
2626 - id : install-secret-key
2727 name : Install gpg secret key
2828 run : |
29- # echo use-agent >> ~/.gnupg/gpg.conf
30- # echo pinentry-mode loopback >> ~/.gnupg/gpg.conf
31- # echo allow-loopback-pinentry >> ~/.gnupg/gpg-agent.conf
32- # echo RELOADAGENT | gpg-connect-agent
33- echo ${{ secrets.SEER_GPG_SECRET_KEY }} | base64 --decode | gpg --import --no-tty --batch --yes
34- echo ${{ secrets.SEER_GPG_OWNER_TRUST }} | base64 --decode | gpg --import-ownertrust --no-tty --batch --yes
35- gpg --list-secret-keys --keyid-format LONG
36- ls -lagF ~/.gnupg
29+ echo ${{ secrets.SEER_GPG_SECRET_KEY }} | base64 --decode | gpg --import --no-tty --batch --yes
30+ echo ${{ secrets.SEER_GPG_OWNER_TRUST }} | base64 --decode | gpg --import-ownertrust --no-tty --batch --yes
31+ gpg --export-secret-keys -o ~/.gnupg/secring.gpg
32+ gpg --list-secret-keys --keyid-format LONG
33+ ls -lagF ~/.gnupg
3734 - name : Publish
38- run : ./gradlew uploadArchives closeAndReleaseRepository -Psigning.keyId=${{ secrets.SEER_GPG_KEYID }} -Psigning.password=${{ secrets.SEER_GPG_PASSWORD }} -Psigning.secretKeyRingFile=${{ secrets.SEER_GPG_KEYRING_FILE }}
35+ run : ./gradlew uploadArchives closeAndReleaseRepository -Psigning.keyId=${{ secrets.SEER_GPG_KEYID }} -Psigning.password=${{ secrets.SEER_GPG_PASSWORD }}
3936 env :
4037 ORG_GRADLE_PROJECT_nexusUsername : ${{ secrets.NEXUS_USERNAME }}
4138 ORG_GRADLE_PROJECT_nexusPassword : ${{ secrets.NEXUS_PASSWORD }}
You can’t perform that action at this time.
0 commit comments