Skip to content

Commit ef117a4

Browse files
Paolo CalaoGiuseppe Lumia
Paolo Calao
and
Giuseppe Lumia
authored
Update .github/workflows/sync-binaries-task.yml
Co-authored-by: Giuseppe Lumia <[email protected]>
1 parent 3e60c26 commit ef117a4

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/sync-binaries-task.yml

+3-5
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,11 @@ jobs:
4242
run: |
4343
./firmware/generator.py
4444
45-
# fix `gpg: signing failed: Inappropriate ioctl for device`
46-
# https://github.com/keybase/keybase-issues/issues/2798
4745
- name: Import GPG key
4846
run: |
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
47+
echo "${{ secrets.GPG_PRIVATE_KEY }}" | \
48+
base64 -di | \
49+
gpg --batch --import --passphrase "${{ secrets.PASSPHRASE }}"
5250
5351
# disable gpg pass prompt
5452
# https://stackoverflow.com/questions/49072403/suppress-the-passphrase-prompt-in-gpg-command

0 commit comments

Comments
 (0)