Skip to content

Commit bf8fb78

Browse files
committed
Use GPG batch mode when signing
1 parent a68eff7 commit bf8fb78

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: .github/workflows/nightly.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -192,14 +192,14 @@ jobs:
192192
cp "artichoke/target/${{ matrix.target }}/release/artichoke.exe" "$staging/"
193193
cp "artichoke/target/${{ matrix.target }}/release/airb.exe" "$staging/"
194194
"/c/Program Files/7-Zip/7z.exe" a "$staging.zip" "$staging"
195-
gpg --pinentry-mode loopback --detach-sign --armor --local-user AF57A37CAC061452 "$staging.zip"
195+
gpg --batch --detach-sign --armor --local-user AF57A37CAC061452 --output "$staging.zip.asc" "$staging.zip"
196196
echo "::set-output name=asset::$staging.zip"
197197
echo "::set-output name=content_type::application/zip"
198198
else
199199
cp "artichoke/target/${{ matrix.target }}/release/artichoke" "$staging/"
200200
cp "artichoke/target/${{ matrix.target }}/release/airb" "$staging/"
201201
tar czf "$staging.tar.gz" "$staging"
202-
gpg --pinentry-mode loopback --detach-sign --armor --local-user AF57A37CAC061452 "$staging.tar.gz"
202+
gpg --batch --detach-sign --armor --local-user AF57A37CAC061452 --output "$staging.tar.gz.asc" "$staging.tar.gz"
203203
echo "::set-output name=asset::$staging.tar.gz"
204204
echo "::set-output name=content_type::application/gzip"
205205
fi

0 commit comments

Comments
 (0)