mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2025-08-22 13:49:13 +08:00
Fix test
This commit is contained in:
parent
d175a181a0
commit
bbf5659dfa
4
packages/cache/src/internal/tar.ts
vendored
4
packages/cache/src/internal/tar.ts
vendored
@ -146,9 +146,9 @@ async function getCommands(
|
|||||||
IS_WINDOWS
|
IS_WINDOWS
|
||||||
|
|
||||||
if (BSD_TAR_ZSTD && type !== 'create') {
|
if (BSD_TAR_ZSTD && type !== 'create') {
|
||||||
args = [...compressionArgs, ...tarArgs]
|
args = [[...compressionArgs].join(' '), [...tarArgs].join(' ')]
|
||||||
} else {
|
} else {
|
||||||
args = [...tarArgs, ...compressionArgs]
|
args = [[...tarArgs].join(' '), [...compressionArgs].join(' ')]
|
||||||
}
|
}
|
||||||
|
|
||||||
if (BSD_TAR_ZSTD) {
|
if (BSD_TAR_ZSTD) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user