mirror of
https://github.com/github/codeql-action.git
synced 2026-04-17 12:33:16 +00:00
Don't use Zstandard bundles on Windows
In testing, gzip performs better than Zstandard on Windows.
This commit is contained in:
@@ -823,6 +823,8 @@ async function useZstdBundle(
|
||||
tarSupportsZstd: boolean,
|
||||
): Promise<boolean> {
|
||||
return (
|
||||
// In testing, gzip performs better than zstd on Windows.
|
||||
process.platform !== "win32" &&
|
||||
tarSupportsZstd &&
|
||||
semver.gte(cliVersion, CODEQL_VERSION_ZSTD_BUNDLE) &&
|
||||
!!(await features.getValue(Feature.ZstdBundle))
|
||||
|
||||
Reference in New Issue
Block a user