Move BuildMode to util.ts

This commit is contained in:
Henry Mercer
2024-04-11 20:01:39 +01:00
parent 829376a618
commit 5b74166227
20 changed files with 62 additions and 47 deletions

View File

@@ -1082,3 +1082,18 @@ export function checkActionVersion(
}
}
}
/**
* Supported build modes.
*
* These specify whether the CodeQL database should be created by tracing a build, and if so, how
* this build will be invoked.
*/
export enum BuildMode {
/** The database will be created without building the source root. */
None = "none",
/** The database will be created by attempting to automatically build the source root. */
Autobuild = "autobuild",
/** The database will be created by building the source root using manually specified build steps. */
Manual = "manual",
}