Commit 6fbef27 1 parent db2cf14 commit 6fbef27 Copy full SHA for 6fbef27
File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -573,7 +573,7 @@ type Step struct {
573
573
Run string `yaml:"run"`
574
574
WorkingDirectory string `yaml:"working-directory"`
575
575
// WorkflowShell is the shell really configured in the job, directly at step level or higher in defaults.run.shell
576
- WorkflowShell string
576
+ WorkflowShell string `yaml:"-"`
577
577
Shell string `yaml:"shell"`
578
578
Env yaml.Node `yaml:"env"`
579
579
With map [string ]string `yaml:"with"`
@@ -620,9 +620,9 @@ func (s *Step) ShellCommand() string {
620
620
shellCommand = "bash -e {0}"
621
621
case "bash" :
622
622
if s .WorkflowShell == "" {
623
- shellCommand = "bash -e {0}"
623
+ shellCommand = "bash -e {0}"
624
624
} else {
625
- shellCommand = "bash --noprofile --norc -e -o pipefail {0}"
625
+ shellCommand = "bash --noprofile --norc -e -o pipefail {0}"
626
626
}
627
627
case "pwsh" :
628
628
shellCommand = "pwsh -command . '{0}'"
You can’t perform that action at this time.
0 commit comments