Move BuildMode to util.ts
This commit is contained in:
parent
829376a618
commit
5b74166227
20 changed files with 62 additions and 47 deletions
15
src/util.ts
15
src/util.ts
|
|
@ -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",
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue