Skip to content

Process Substitution Fails #4

@adam-grant-hendry

Description

@adam-grant-hendry

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions