修改解压tar错误
Continuous Integration / GitHub Actions Test (push) Failing after 26s Details

This commit is contained in:
walker 2024-03-18 10:36:18 +08:00
parent d962fec1ad
commit 5659b7f144
3 changed files with 3 additions and 3 deletions

2
dist/index.js generated vendored
View File

@ -80739,7 +80739,7 @@ async function download(filename) {
core.info(`Downloading Docker from ${url}`);
const downloadPath = await tc.downloadTool(url);
core.info(`Extracting Docker to ${downloadPath}`);
const extpath = await tc.extractTar(downloadPath, undefined, 'xzf');
const extpath = await tc.extractTar(downloadPath);
return path_1.default.join(extpath, 'docker');
}
exports.download = download;

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@ -16,6 +16,6 @@ export async function download(filename: string): Promise<string> {
core.info(`Downloading Docker from ${url}`)
const downloadPath = await tc.downloadTool(url)
core.info(`Extracting Docker to ${downloadPath}`)
const extpath = await tc.extractTar(downloadPath, undefined, 'xzf')
const extpath = await tc.extractTar(downloadPath)
return path.join(extpath, 'docker')
}