2 Commits

Author SHA1 Message Date
jormundgand
c6c46aa048 Merge branch 'main' into main 2024-03-03 21:00:53 +00:00
Frederik Hertzum
beac5a2aec no longer add .cache/act to cfg.Host.WorkdirParent twice 2024-02-13 23:40:27 +01:00

View File

@@ -125,7 +125,7 @@ func LoadDefault(file string) (*Config, error) {
} }
if cfg.Host.WorkdirParent == "" { if cfg.Host.WorkdirParent == "" {
home, _ := os.UserHomeDir() home, _ := os.UserHomeDir()
cfg.Host.WorkdirParent = filepath.Join(home, ".cache", "act") cfg.Host.WorkdirParent = home
} }
if cfg.Runner.FetchTimeout <= 0 { if cfg.Runner.FetchTimeout <= 0 {
cfg.Runner.FetchTimeout = 5 * time.Second cfg.Runner.FetchTimeout = 5 * time.Second