mirror of
https://gitea.com/gitea/act_runner.git
synced 2026-03-21 04:16:46 +08:00
add windows compatibility
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user