Only stream installing the bundle on Linux
This commit is contained in:
parent
e5048f5d84
commit
972eba1b90
3 changed files with 3 additions and 1 deletions
1
lib/tools-download.js
generated
1
lib/tools-download.js
generated
|
|
@ -58,6 +58,7 @@ async function downloadAndExtract(codeqlURL, authorization, headers, tarVersion,
|
|||
logger.info(`Downloading CodeQL tools from ${codeqlURL} . This may take a while.`);
|
||||
const compressionMethod = tar.inferCompressionMethod(codeqlURL);
|
||||
if (compressionMethod === "zstd" &&
|
||||
process.platform === "linux" &&
|
||||
(await features.getValue(feature_flags_1.Feature.ZstdBundleStreamingExtraction))) {
|
||||
logger.info(`Streaming the extraction of the CodeQL bundle.`);
|
||||
const toolsInstallStart = perf_hooks_1.performance.now();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue