Skip to content

Commit 9a4d7bf

Browse files
committed
Revert "Update .github/workflows/sync-binaries-task.yml"
This reverts commit 6171a88.
1 parent ddf5196 commit 9a4d7bf

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

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

+4-8
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,10 @@ jobs:
4949
base64 -di | \
5050
gpg --batch --import --passphrase "${{ secrets.PASSPHRASE }}"
5151
52-
- name: Sign the index
53-
run: |
54-
export GPG_TTY=$(tty) # fix `gpg: signing failed: Inappropriate ioctl for device`
55-
gpg \
56-
--pinentry-mode=loopback \
57-
--passphrase "${{ secrets.PASSPHRASE }}" \
58-
--detach-sign firmware/binaries/index.json \
59-
> firmware/binaries/index.json.sig
52+
# disable gpg pass prompt
53+
# https://stackoverflow.com/questions/49072403/suppress-the-passphrase-prompt-in-gpg-command
54+
- name: sign the json
55+
run: gpg --pinentry-mode=loopback --passphrase "${{ secrets.PASSPHRASE }}" --output firmware/binaries/index.json.sig --detach-sign firmware/binaries/index.json
6056

6157
- name: create the gzip
6258
run: gzip --keep firmware/binaries/index.json

0 commit comments

Comments
 (0)