add windows compatibility

This commit is contained in:
Atrox 2019-01-16 13:58:18 +01:00
parent 3c4c5a15b4
commit a041b34ac5

View file

@ -38,7 +38,7 @@ func ParseWorkflows(workingDir string, workflowPath string) (Workflows, error) {
}
workflows.WorkingDir = workingDir
workflows.WorkflowPath = workflowPath
workflows.TempDir, err = ioutil.TempDir("/tmp", "act-")
workflows.TempDir, err = ioutil.TempDir("", "act-")
if err != nil {
return nil, err
}