From 563564520087272869dae2bb2d8b6a6186da7533 Mon Sep 17 00:00:00 2001 From: Wink Saville Date: Wed, 4 Nov 2020 11:54:48 -0800 Subject: [PATCH] Use PathListSeparator (#408) In PR #406 I used PathSeparator and I should have used PathListSeparator. See: https://golang.org/pkg/os/#pkg-constants --- act/runner/step_context.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/act/runner/step_context.go b/act/runner/step_context.go index 93310672..75542b08 100644 --- a/act/runner/step_context.go +++ b/act/runner/step_context.go @@ -94,7 +94,7 @@ func (sc *StepContext) setupEnv() common.Executor { if (rc.ExtraPath != nil) && (len(rc.ExtraPath) > 0) { s := append(rc.ExtraPath, os.Getenv("PATH")) - env["PATH"] = strings.Join(s, string(os.PathSeparator)) + env["PATH"] = strings.Join(s, string(os.PathListSeparator)) } for k, v := range env {