Add output for analyze action output path

This commit is contained in:
Josh Soref 2023-07-25 12:40:23 -04:00
parent 57a11be8e4
commit 8ab72a0f47
5 changed files with 6 additions and 1 deletions

1
lib/analyze-action.js generated
View file

@ -176,6 +176,7 @@ async function run() {
dbLocations[language] = util.getCodeQLDatabasePath(config, language);
}
core.setOutput("db-locations", dbLocations);
core.setOutput("sarif-output", path_1.default.resolve(outputDir));
const uploadInput = actionsUtil.getOptionalInput("upload");
if (runStats && actionsUtil.getUploadValue(uploadInput) === "always") {
uploadResult = await uploadLib.uploadFromActions(outputDir, actionsUtil.getRequiredInput("checkout_path"), actionsUtil.getOptionalInput("category"), logger);

File diff suppressed because one or more lines are too long