Fix #2367, add codeql-version to outputs

This commit is contained in:
Matt Schwager 2024-07-10 11:58:42 -04:00
parent be825d5eef
commit e1f83c153a
4 changed files with 5 additions and 1 deletions

View file

@ -554,6 +554,7 @@ async function run() {
flushDiagnostics(config);
core.setOutput("codeql-path", config.codeQLCmd);
core.setOutput("codeql-version", (await codeql.getVersion()).version);
} catch (unwrappedError) {
const error = wrapError(unwrappedError);
core.setFailed(error.message);