File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -182,15 +182,15 @@ jobs:
182
182
env :
183
183
PGP_SECRET : ${{ secrets.PGP_SECRET }}
184
184
PGP_PASSPHRASE : ${{ secrets.PGP_PASSPHRASE }}
185
- run : echo $PGP_SECRET | base64 -di | gpg --import
185
+ run : echo $PGP_SECRET | base64 -d -i - | gpg --import
186
186
187
187
- name : Import signing key and strip passphrase
188
188
if : env.PGP_SECRET != '' && env.PGP_PASSPHRASE != ''
189
189
env :
190
190
PGP_SECRET : ${{ secrets.PGP_SECRET }}
191
191
PGP_PASSPHRASE : ${{ secrets.PGP_PASSPHRASE }}
192
192
run : |
193
- echo "$PGP_SECRET" | base64 -di > /tmp/signing-key.gpg
193
+ echo "$PGP_SECRET" | base64 -d -i - > /tmp/signing-key.gpg
194
194
echo "$PGP_PASSPHRASE" | gpg --pinentry-mode loopback --passphrase-fd 0 --import /tmp/signing-key.gpg
195
195
(echo "$PGP_PASSPHRASE"; echo; echo) | gpg --command-fd 0 --pinentry-mode loopback --change-passphrase $(gpg --list-secret-keys --with-colons 2> /dev/null | grep '^sec:' | cut --delimiter ':' --fields 5 | tail -n 1)
196
196
You can’t perform that action at this time.
0 commit comments