fix: tar command
This commit is contained in:
@@ -39,7 +39,11 @@ export async function download(version: string): Promise<string> {
|
||||
|
||||
core.info(`Extracting Clang archive...`)
|
||||
|
||||
const extractedPath = await tc.extractTar(archivePath, undefined, 'xf')
|
||||
const extractedPath = await tc.extractTar(
|
||||
archivePath,
|
||||
undefined,
|
||||
'x --strip-components=1'
|
||||
)
|
||||
const cachedPath = await tc.cacheDir(extractedPath, 'clang', version)
|
||||
|
||||
return cachedPath
|
||||
|
||||
Reference in New Issue
Block a user