creshpay/action-gpg

Process Substitution Fails

Closed this issue · 1 comments

The process substitution

--passphrase-file <(echo ***)

in action.yml

https://github.com/cresh-io/action-gpg/blob/69c283c829f9f89f282f110f705db67a2b263777/action.yml#L53-L55

fails in instances where GitHub Actions falls back to using sh (sh does not support process substitutions unless POSIX mode is turned off with set +o posix).

Per the GitHub Docs for jobs.<job_id>.steps[*].shell, shell: bash behaves as follows:

The default shell on non-Windows platforms with a fallback to sh. When specifying a bash shell on Windows, the bash shell included with Git for Windows is used.

Please add set +o posix to step Import GPG Key.

sylver commented

Hi @adam-grant-hendry

Sorry for the delay, but we took your issue into account and pushed a few improvements in a new v2 tag.