Skip to content

Commit 2a55b22

Browse files
committed
Another shot
1 parent 27a7cc3 commit 2a55b22

1 file changed

Lines changed: 6 additions & 9 deletions

File tree

‎.github/workflows/publish.yml‎

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff 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 }}

0 commit comments

Comments
 (0)