mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-04-07 10:53:16 +08:00
Fix tests
This commit is contained in:
1
packages/cache/src/internal/tar.ts
vendored
1
packages/cache/src/internal/tar.ts
vendored
@@ -16,6 +16,7 @@ async function getTarPath(
|
||||
const systemTar = `${process.env['windir']}\\System32\\tar.exe`
|
||||
const gnuTar = `${process.env['windir']}\\Program Files\\Git\\usr\\bin\\tar.exe`
|
||||
if (existsSync(gnuTar)) {
|
||||
// Making GNUtar + zstd as default on windows
|
||||
args.push('--force-local')
|
||||
return gnuTar
|
||||
} else if (compressionMethod !== CompressionMethod.Gzip) {
|
||||
|
||||
Reference in New Issue
Block a user