1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-11-24 08:02:18 +02:00

Allow to change the working directory also plugins and services (#3914)

This commit is contained in:
6543 2024-07-17 16:02:38 -07:00 committed by GitHub
parent 059cb93d06
commit e39345688d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -84,9 +84,7 @@ func (c *Compiler) createProcess(container *yaml_types.Container, stepType backe
detached = true detached = true
} }
if !detached || len(container.Commands) != 0 { workingDir = c.stepWorkingDir(container)
workingDir = c.stepWorkingDir(container)
}
getSecretValue := func(name string) (string, error) { getSecretValue := func(name string) (string, error) {
name = strings.ToLower(name) name = strings.ToLower(name)