Fix dlcache basepath
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
This commit is contained in:
parent
dd216e8707
commit
ae99f4a136
|
@ -31,7 +31,7 @@ import (
|
||||||
|
|
||||||
// BasePath returns the base path of the download cache
|
// BasePath returns the base path of the download cache
|
||||||
func BasePath(ctx context.Context) string {
|
func BasePath(ctx context.Context) string {
|
||||||
return filepath.Join(config.GetPaths(ctx).RepoDir, "dl")
|
return filepath.Join(config.GetPaths(ctx).CacheDir, "dl")
|
||||||
}
|
}
|
||||||
|
|
||||||
// New creates a new directory with the given ID in the cache.
|
// New creates a new directory with the given ID in the cache.
|
||||||
|
|
Loading…
Reference in New Issue