mirror of https://github.com/actions/toolkit
Fix tests
parent
1ddac5e02f
commit
7441dc5e59
|
@ -11,7 +11,7 @@ async function getTarPath(
|
||||||
args: string[],
|
args: string[],
|
||||||
compressionMethod: CompressionMethod
|
compressionMethod: CompressionMethod
|
||||||
): Promise<string> {
|
): Promise<string> {
|
||||||
var tarPath = await io.which('tar', true)
|
let tarPath = await io.which('tar', true)
|
||||||
switch (process.platform) {
|
switch (process.platform) {
|
||||||
case 'win32': {
|
case 'win32': {
|
||||||
const gnuTar = `${process.env['PROGRAMFILES']}\\Git\\usr\\bin\\tar.exe`
|
const gnuTar = `${process.env['PROGRAMFILES']}\\Git\\usr\\bin\\tar.exe`
|
||||||
|
|
Loading…
Reference in New Issue