Skip to content

Commit

Permalink
ci: export to keyring file
Browse files Browse the repository at this point in the history
Signed-off-by: Nicklas Lundin <nicklasl@spotify.com>
  • Loading branch information
nicklasl committed Oct 11, 2023
1 parent 74f13d4 commit 53cddb7
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/temp_signing_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,9 @@ jobs:
- name: Configure GPG Key
run: |
echo -n "$GPG_SIGNING_KEY" | gpg --import
gpg --pinentry-mode=loopback --export-secret-key D032CABD08C5EC5C > ~/.gnupg/secring.gpg
env:
GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }}
# - name: Configure GPG Key
# run: |
# echo -n "$GPG_SIGNING_KEY" | base64 --decode | gpg --import --no-tty --batch --yes
# gpg --pinentry-mode=loopback --export-secret-key $GPG_SIGNING_KEY_ID > ~/.gnupg/secring.gpg
# env:
# GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }}
# GPG_SIGNING_KEY_PASSWORD: ${{ secrets.GPG_SIGNING_KEY_PASSWORD }} #--passphrase $GPG_SIGNING_KEY_PASSWORD

- name: Add signing secrets to gradle.properties
Expand Down

0 comments on commit 53cddb7

Please sign in to comment.