fix: checkout container path should always use /
(#1226)
Container.CopyDir is no longer working with `\` as destpath.
This commit is contained in:
parent
de37f75077
commit
f71f2778f0
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ func (sar *stepActionRemote) main() common.Executor {
|
|||
return nil
|
||||
}
|
||||
eval := sar.RunContext.NewExpressionEvaluator(ctx)
|
||||
copyToPath := filepath.Join(sar.RunContext.Config.ContainerWorkdir(), eval.Interpolate(ctx, sar.Step.With["path"]))
|
||||
copyToPath := path.Join(sar.RunContext.Config.ContainerWorkdir(), eval.Interpolate(ctx, sar.Step.With["path"]))
|
||||
return sar.RunContext.JobContainer.CopyDir(copyToPath, sar.RunContext.Config.Workdir+string(filepath.Separator)+".", sar.RunContext.Config.UseGitIgnore)(ctx)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue