mirror of
https://gitea.com/gitea/act_runner.git
synced 2026-08-09 04:15:03 +02:00
Removed pipefail from bash shell execution to match GitHub Actions (#529)
fixes #528 Co-authored-by: Hugh Lunt <[email protected]> Co-authored-by: Hugh Lunt <[email protected]>
This commit is contained in:
@@ -259,7 +259,7 @@ func (s *Step) ShellCommand() string {
|
|||||||
|
|
||||||
switch s.Shell {
|
switch s.Shell {
|
||||||
case "", "bash":
|
case "", "bash":
|
||||||
shellCommand = "bash --noprofile --norc -eo pipefail {0}"
|
shellCommand = "bash --noprofile --norc -e {0}"
|
||||||
case "pwsh":
|
case "pwsh":
|
||||||
shellCommand = "pwsh -command \"& '{0}'\""
|
shellCommand = "pwsh -command \"& '{0}'\""
|
||||||
case "python":
|
case "python":
|
||||||
|
|||||||
Reference in New Issue
Block a user