Add logging for CodeQL CLI Version and add tests to the logger for it.
This commit is contained in:
parent
cbe408dfc9
commit
cff15d7117
6 changed files with 32 additions and 3 deletions
1
lib/setup-codeql.js
generated
1
lib/setup-codeql.js
generated
|
|
@ -495,6 +495,7 @@ function getCanonicalToolcacheVersion(cliVersion, bundleVersion, logger) {
|
|||
*/
|
||||
async function setupCodeQLBundle(toolsInput, apiDetails, tempDir, variant, defaultCliVersion, logger) {
|
||||
const source = await getCodeQLSource(toolsInput, defaultCliVersion, apiDetails, variant, logger);
|
||||
logger.info("Using CodeQL CLI version: " + source.toolsVersion + " from " + source.sourceType);
|
||||
let codeqlFolder;
|
||||
let toolsVersion = source.toolsVersion;
|
||||
let toolsDownloadDurationMs;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue