Fix dlcache basepath
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2023-10-07 14:47:21 -07:00
parent dd216e8707
commit ae99f4a136
+1 -1
View File
@@ -31,7 +31,7 @@ import (
// BasePath returns the base path of the download cache
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.