mirror of
https://github.com/github/codeql-action.git
synced 2026-05-07 22:30:44 +00:00
Rename feature flag to CODEQL_ACTION_ARTIFACT_V2_UPGRADE
This commit is contained in:
Generated
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user