mirror of
https://gitea.com/gitea/act_runner.git
synced 2026-03-20 03:46:09 +08:00
feat: GoGitActionCache shallow fetch (#63)
This commit is contained in:
@@ -77,6 +77,7 @@ func (c GoGitActionCache) Fetch(ctx context.Context, cacheDir, url, ref, token s
|
||||
},
|
||||
Auth: auth,
|
||||
Force: true,
|
||||
Depth: 1,
|
||||
}); err != nil {
|
||||
return "", fmt.Errorf("GoGitActionCache failed to fetch %s with ref %s at %s: %w", url, ref, gitPath, err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user