Merge pull request #8 from Atrox/master

add windows compatibility
This commit is contained in:
Casey Lee 2019-01-16 09:53:50 -08:00 committed by GitHub
commit 454b219a40
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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
} }