From 21f71e5cdc15cf3ee3ea552503ce8e0b67b06496 Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Mon, 7 Jul 2025 11:06:04 +0000 Subject: [PATCH] Revert "fix: docker buildx cache restore not working" (#173) This reverts commit f147e45da3b29e555527cd178a5c07f1240aeb62. https://code.forgejo.org/forgejo/act/pulls/122/commits/f147e45da3b29e555527cd178a5c07f1240aeb62 is not the same as https://github.com/nektos/act/pull/2236/files Refs: https://code.forgejo.org/forgejo/act/pulls/122 Reviewed-on: https://code.forgejo.org/forgejo/act/pulls/173 Reviewed-by: Michael Kriese Co-authored-by: Earl Warren Co-committed-by: Earl Warren --- act/artifactcache/handler.go | 5 ----- 1 file changed, 5 deletions(-) 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 {