From ac41bcbeb785e426754f17080c7627964a64c272 Mon Sep 17 00:00:00 2001 From: egibs Date: Fri, 10 May 2024 14:58:52 -0500 Subject: [PATCH] Fix archive extraction --- pkg/action/archive.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/action/archive.go b/pkg/action/archive.go index 717dafbbe..78c4f89b9 100644 --- a/pkg/action/archive.go +++ b/pkg/action/archive.go @@ -279,7 +279,8 @@ func extractArchiveToTempDir(ctx context.Context, path string) (string, error) { return "", fmt.Errorf("failed to create temp dir: %w", err) } - extract := extractionMethod(filepath.Ext(path)) + ext := getExt(path) + extract := extractionMethod(ext) if extract == nil { return "", fmt.Errorf("unsupported archive type: %s", path) }