diff --git a/act/artifactcache/handler.go b/act/artifactcache/handler.go index 55bb3308..846943c9 100644 --- a/act/artifactcache/handler.go +++ b/act/artifactcache/handler.go @@ -431,12 +431,7 @@ func findCache(db *bolthold.Store, repo string, keys []string, version string) ( return nil, fmt.Errorf("find cache: %w", err) } return cache, nil - } else if cache.Complete { - return cache, nil } - } - - for _, prefix := range keys { prefixPattern := fmt.Sprintf("^%s", regexp.QuoteMeta(prefix)) re, err := regexp.Compile(prefixPattern) if err != nil {