Use cache-cleanup command line option
The --mode command line option to has been renamed to --cache-cleanup
This commit is contained in:
parent
7233ec5e6b
commit
e4525acbcb
4 changed files with 4 additions and 4 deletions
|
|
@ -19,7 +19,7 @@ inputs:
|
|||
# If changing this, make sure to update workflow.ts accordingly.
|
||||
default: "always"
|
||||
cleanup-level:
|
||||
description: "Level of cleanup to perform on CodeQL databases at the end of the analyze step. This should either be 'none' to skip cleanup, or be a valid argument for the --mode flag of the CodeQL CLI command 'codeql database cleanup' as documented at https://codeql.github.com/docs/codeql-cli/manual/database-cleanup"
|
||||
description: "Level of cleanup to perform on CodeQL databases at the end of the analyze step. This should either be 'none' to skip cleanup, or be a valid argument for the --cache-cleanup flag of the CodeQL CLI command 'codeql database cleanup' as documented at https://codeql.github.com/docs/codeql-cli/manual/database-cleanup"
|
||||
required: false
|
||||
default: "brutal"
|
||||
ram:
|
||||
|
|
|
|||
2
lib/codeql.js
generated
2
lib/codeql.js
generated
|
|
@ -570,7 +570,7 @@ async function getCodeQLForCmd(cmd, checkVersion) {
|
|||
"database",
|
||||
"cleanup",
|
||||
databasePath,
|
||||
`--mode=${cleanupLevel}`,
|
||||
`--cache-cleanup=${cleanupLevel}`,
|
||||
...getExtraOptionsFromEnv(["database", "cleanup"]),
|
||||
];
|
||||
await runTool(cmd, codeqlArgs);
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -970,7 +970,7 @@ export async function getCodeQLForCmd(
|
|||
"database",
|
||||
"cleanup",
|
||||
databasePath,
|
||||
`--mode=${cleanupLevel}`,
|
||||
`--cache-cleanup=${cleanupLevel}`,
|
||||
...getExtraOptionsFromEnv(["database", "cleanup"]),
|
||||
];
|
||||
await runTool(cmd, codeqlArgs);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue