mirror of
https://github.com/nektos/act.git
synced 2024-09-21 01:16:26 +03:00
Fix shellcommand error on sh shell (#1464)
Co-authored-by: Lim Chun Leng <limchunleng@gmail.com>
This commit is contained in:
parent
3553b2697c
commit
87327286d5
@ -495,7 +495,7 @@ func (s *Step) ShellCommand() string {
|
||||
case "python":
|
||||
shellCommand = "python {0}"
|
||||
case "sh":
|
||||
shellCommand = "sh -e -c {0}"
|
||||
shellCommand = "sh -e {0}"
|
||||
case "cmd":
|
||||
shellCommand = "%ComSpec% /D /E:ON /V:OFF /S /C \"CALL \"{0}\"\""
|
||||
case "powershell":
|
||||
|
Loading…
Reference in New Issue
Block a user