fix
This commit is contained in:
2
dist/index.js
generated
vendored
2
dist/index.js
generated
vendored
@@ -28315,7 +28315,7 @@ async function download(version) {
|
||||
core.info(`Downloading Clang ${version} (${process.platform}, ${process.arch}) from ${url} ...`);
|
||||
const archivePath = await tc.downloadTool(url);
|
||||
core.info(`Extracting Clang archive...`);
|
||||
const extractedPath = await tc.extractTar(archivePath, undefined, 'x --strip-components=1');
|
||||
const extractedPath = await tc.extractTar(archivePath, undefined, '-x --strip-components=1');
|
||||
const cachedPath = await tc.cacheDir(extractedPath, 'clang', version);
|
||||
return cachedPath;
|
||||
}
|
||||
|
||||
2
dist/index.js.map
generated
vendored
2
dist/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
@@ -42,7 +42,7 @@ export async function download(version: string): Promise<string> {
|
||||
const extractedPath = await tc.extractTar(
|
||||
archivePath,
|
||||
undefined,
|
||||
'x --strip-components=1'
|
||||
'-x --strip-components=1'
|
||||
)
|
||||
const cachedPath = await tc.cacheDir(extractedPath, 'clang', version)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user