Remove C++ TRAP caching feature flag in favour of CLI v2.17.5 check.
This commit is contained in:
parent
1428e58aad
commit
c82e2452bb
6 changed files with 4 additions and 18 deletions
|
|
@ -48,7 +48,6 @@ export enum Feature {
|
|||
AutobuildDirectTracing = "autobuild_direct_tracing_v2",
|
||||
CleanupTrapCaches = "cleanup_trap_caches",
|
||||
CppDependencyInstallation = "cpp_dependency_installation_enabled",
|
||||
CppTrapCachingEnabled = "cpp_trap_caching_enabled",
|
||||
DisableCsharpBuildless = "disable_csharp_buildless",
|
||||
DisableJavaBuildlessEnabled = "disable_java_buildless_enabled",
|
||||
DisableKotlinAnalysisEnabled = "disable_kotlin_analysis_enabled",
|
||||
|
|
@ -104,12 +103,6 @@ export const featureConfig: Record<
|
|||
legacyApi: true,
|
||||
minimumVersion: "2.15.0",
|
||||
},
|
||||
[Feature.CppTrapCachingEnabled]: {
|
||||
defaultValue: false,
|
||||
envVar: "CODEQL_CPP_TRAP_CACHING",
|
||||
legacyApi: true,
|
||||
minimumVersion: "2.16.1",
|
||||
},
|
||||
[Feature.DisableCsharpBuildless]: {
|
||||
defaultValue: false,
|
||||
envVar: "CODEQL_ACTION_DISABLE_CSHARP_BUILDLESS",
|
||||
|
|
|
|||
|
|
@ -466,7 +466,7 @@ async function run() {
|
|||
);
|
||||
} else if (
|
||||
getTrapCachingEnabled() &&
|
||||
(await features.getValue(Feature.CppTrapCachingEnabled, codeql))
|
||||
(await codeQlVersionAtLeast(codeql, "2.17.5"))
|
||||
) {
|
||||
logger.info("Enabling CodeQL C++ TRAP caching support");
|
||||
core.exportVariable(envVar, "true");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue