mirror of
https://github.com/github/codeql-action.git
synced 2026-10-30 01:27:22 +00:00
Make name of debugging artifact and DB within it configurable
This commit is contained in:
3
lib/codeql.js
generated
3
lib/codeql.js
generated
@@ -638,12 +638,13 @@ async function getCodeQLForCmd(cmd, checkVersion) {
|
||||
];
|
||||
await runTool(cmd, codeqlArgs);
|
||||
},
|
||||
async databaseBundle(databasePath, outputFilePath) {
|
||||
async databaseBundle(databasePath, outputFilePath, databaseName) {
|
||||
const args = [
|
||||
"database",
|
||||
"bundle",
|
||||
databasePath,
|
||||
`--output=${outputFilePath}`,
|
||||
`--name=${databaseName}`,
|
||||
];
|
||||
await new toolrunner.ToolRunner(cmd, args).exec();
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user