fix #122 - support actions/checkout for repos other the one for this workflow (#143)

This commit is contained in:
Casey Lee
2020-03-09 17:45:42 -07:00
committed by GitHub
parent 143676fcfb
commit 16520bb277
4 changed files with 66 additions and 3 deletions

View File

@@ -105,6 +105,7 @@ func (cr *containerReference) CopyDir(destPath string, srcPath string) common.Ex
common.NewInfoExecutor("%sdocker cp src=%s dst=%s", logPrefix, srcPath, destPath),
cr.connect(),
cr.find(),
cr.exec([]string{"mkdir", "-p", destPath}, nil),
cr.copyDir(destPath, srcPath),
).IfNot(common.Dryrun)
}