Add feature flag for using zstd bundle
This commit is contained in:
parent
2cddcb1990
commit
e7309d2b5c
3 changed files with 17 additions and 1 deletions
|
|
@ -47,6 +47,7 @@ export enum Feature {
|
|||
DisableKotlinAnalysisEnabled = "disable_kotlin_analysis_enabled",
|
||||
ExportDiagnosticsEnabled = "export_diagnostics_enabled",
|
||||
QaTelemetryEnabled = "qa_telemetry_enabled",
|
||||
ZstdBundle = "zstd_bundle",
|
||||
}
|
||||
|
||||
export const featureConfig: Record<
|
||||
|
|
@ -120,6 +121,13 @@ export const featureConfig: Record<
|
|||
legacyApi: true,
|
||||
minimumVersion: undefined,
|
||||
},
|
||||
[Feature.ZstdBundle]: {
|
||||
defaultValue: false,
|
||||
envVar: "CODEQL_ACTION_ZSTD_BUNDLE",
|
||||
// We haven't yet installed CodeQL when we check this feature flag, so we need to implement the
|
||||
// version check separately.
|
||||
minimumVersion: undefined,
|
||||
},
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue