mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-04-07 16:13:16 +08:00
Add windows bsdtar test
This commit is contained in:
2
packages/cache/src/internal/tar.ts
vendored
2
packages/cache/src/internal/tar.ts
vendored
@@ -74,7 +74,7 @@ async function getCompressionProgram(
|
||||
]
|
||||
case CompressionMethod.ZstdWithoutLong:
|
||||
if (BSD_TAR_WINDOWS) {
|
||||
return ['a'] // auto-detect compression
|
||||
return ['-a'] // auto-detect compression
|
||||
}
|
||||
return ['--use-compress-program', IS_WINDOWS ? 'zstd -d' : 'unzstd']
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user