mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-26 10:20:29 +00:00
Force worker directory to use slash. Needed to use Drone on windows
This commit is contained in:
parent
90bf8130f8
commit
420131d3fa
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ func (d *Docker) Do(c context.Context, r *worker.Work) {
|
|||
Commit: r.Commit.Sha,
|
||||
PR: r.Commit.PullRequest,
|
||||
Private: r.Repo.Private,
|
||||
Dir: filepath.Join("/var/cache/drone/src", git.GitPath(script.Git, path)),
|
||||
Dir: filepath.ToSlash(filepath.Join("/var/cache/drone/src", git.GitPath(script.Git, path))),
|
||||
Depth: git.GitDepth(script.Git),
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue