1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-08-11 17:50:58 +00:00

add windows compatibility

This commit is contained in:
Atrox 2019-01-16 13:58:18 +01:00
parent f6d3cdeecb
commit a669f9a63a

View file

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