Rename feature flag to CODEQL_ACTION_ARTIFACT_V2_UPGRADE

This commit is contained in:
Angela P Wen
2024-09-26 13:21:27 -07:00
parent 8e4d3c2dba
commit bca51cd79e
13 changed files with 17 additions and 17 deletions
+1 -1
View File
@@ -194,7 +194,7 @@ async function uploadDebugArtifacts(toUpload, rootDir, artifactName, ghVariant,
// `@actions/artifact@v2` is not yet supported on GHES so the legacy version of the client will be used on GHES
// until it is supported. We also use the legacy version of the client if the feature flag is disabled.
const artifactUploader = ghVariant !== util_1.GitHubVariant.GHES &&
(await features.getValue(feature_flags_1.Feature.ArtifactUpgrade))
(await features.getValue(feature_flags_1.Feature.ArtifactV2Upgrade))
? new artifact.DefaultArtifactClient()
: artifactLegacy.create();
try {