mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2025-08-22 03:29:06 +08:00
Fix tests
This commit is contained in:
parent
1ddac5e02f
commit
7441dc5e59
2
packages/cache/src/internal/tar.ts
vendored
2
packages/cache/src/internal/tar.ts
vendored
@ -11,7 +11,7 @@ async function getTarPath(
|
||||
args: string[],
|
||||
compressionMethod: CompressionMethod
|
||||
): Promise<string> {
|
||||
var tarPath = await io.which('tar', true)
|
||||
let tarPath = await io.which('tar', true)
|
||||
switch (process.platform) {
|
||||
case 'win32': {
|
||||
const gnuTar = `${process.env['PROGRAMFILES']}\\Git\\usr\\bin\\tar.exe`
|
||||
|
Loading…
x
Reference in New Issue
Block a user