mirror of
https://gitea.com/gitea/act_runner.git
synced 2025-12-18 12:04:47 +00:00
no longer add .cache/act to cfg.Host.WorkdirParent twice
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user