From bbf5659dfa310b4cf317f6d00b36dddb8e4a5f7a Mon Sep 17 00:00:00 2001 From: Sampark Sharma Date: Mon, 12 Dec 2022 07:04:15 +0000 Subject: [PATCH] Fix test --- packages/cache/src/internal/tar.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/cache/src/internal/tar.ts b/packages/cache/src/internal/tar.ts index 97d36d3a..6d48e7b8 100644 --- a/packages/cache/src/internal/tar.ts +++ b/packages/cache/src/internal/tar.ts @@ -146,9 +146,9 @@ async function getCommands( IS_WINDOWS if (BSD_TAR_ZSTD && type !== 'create') { - args = [...compressionArgs, ...tarArgs] + args = [[...compressionArgs].join(' '), [...tarArgs].join(' ')] } else { - args = [...tarArgs, ...compressionArgs] + args = [[...tarArgs].join(' '), [...compressionArgs].join(' ')] } if (BSD_TAR_ZSTD) {