Removed pipefail from bash shell execution to match GitHub Actions (#529)

fixes #528

Co-authored-by: Hugh Lunt <hugh.lunt@itv.com>

Co-authored-by: Hugh Lunt <hugh.lunt@itv.com>
This commit is contained in:
Andrew Gee 2021-02-12 16:28:26 +00:00 committed by GitHub
parent 661aa08235
commit 60669808a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -259,7 +259,7 @@ func (s *Step) ShellCommand() string {
switch s.Shell {
case "", "bash":
shellCommand = "bash --noprofile --norc -eo pipefail {0}"
shellCommand = "bash --noprofile --norc -e {0}"
case "pwsh":
shellCommand = "pwsh -command \"& '{0}'\""
case "python":