We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e60c26 commit ef117a4Copy full SHA for ef117a4
.github/workflows/sync-binaries-task.yml
@@ -42,13 +42,11 @@ jobs:
42
run: |
43
./firmware/generator.py
44
45
- # fix `gpg: signing failed: Inappropriate ioctl for device`
46
- # https://github.com/keybase/keybase-issues/issues/2798
47
- name: Import GPG key
48
49
- echo "${{ secrets.GPG_PRIVATE_KEY }}" | base64 -di > /tmp/private.key
50
- gpg --batch --import --passphrase "${{ secrets.PASSPHRASE }}" /tmp/private.key
51
- echo "GPG_TTY=$(tty)" >> $GITHUB_ENV
+ echo "${{ secrets.GPG_PRIVATE_KEY }}" | \
+ base64 -di | \
+ gpg --batch --import --passphrase "${{ secrets.PASSPHRASE }}"
52
53
# disable gpg pass prompt
54
# https://stackoverflow.com/questions/49072403/suppress-the-passphrase-prompt-in-gpg-command
0 commit comments