mirror of
https://gitea.com/gitea/runner.git
synced 2026-11-04 14:35:32 +00: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:
1 parent
661aa08235
commit
60669808a4
1 file changed
+1
-1
@@ -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":
|
||||
|
||||
Reference in new issue
Block a user