no longer add .cache/act to cfg.Host.WorkdirParent twice #485

Open
jormundgand wants to merge 2 commits from jormundgand/main into main
pull from: jormundgand/main
+1 -1
View File
@@ -125,7 +125,7 @@ func LoadDefault(file string) (*Config, error) {
}
if cfg.Host.WorkdirParent == "" {
home, _ := os.UserHomeDir()
cfg.Host.WorkdirParent = filepath.Join(home, ".cache", "act")
cfg.Host.WorkdirParent = home
}
if cfg.Runner.FetchTimeout <= 0 {
cfg.Runner.FetchTimeout = 5 * time.Second