9884da0122
* fix: environment handling windows (host mode) * fixup * fixup * add more tests * fixup * fix setenv * fixes * [skip ci] Apply suggestions from code review Co-authored-by: Jason Song <i@wolfogre.com> * Update side effects --------- Co-authored-by: Jason Song <i@wolfogre.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
15 lines
383 B
Go
15 lines
383 B
Go
package container
|
|
|
|
import "context"
|
|
|
|
type ExecutionsEnvironment interface {
|
|
Container
|
|
ToContainerPath(string) string
|
|
GetActPath() string
|
|
GetPathVariableName() string
|
|
DefaultPathVariable() string
|
|
JoinPathVariable(...string) string
|
|
GetRunnerContext(ctx context.Context) map[string]interface{}
|
|
// On windows PATH and Path are the same key
|
|
IsEnvironmentCaseInsensitive() bool
|
|
}
|