Log steps input for debugging

This commit is contained in:
Henry Mercer
2023-11-28 17:00:30 +00:00
parent 3fe9cb3b27
commit 6154c552ae
3 changed files with 6 additions and 1 deletions

2
lib/analyze-action.js generated
View File

@@ -154,6 +154,8 @@ async function run() {
if (hasBadExpectErrorInput()) {
throw new util.UserError("`expect-error` input parameter is for internal use only. It should only be set by codeql-action or a fork.");
}
// Log steps input for debugging
logger.info(`Steps input: ${actionsUtil.getRequiredInput("steps")}`);
const apiDetails = (0, api_client_1.getApiDetails)();
const outputDir = actionsUtil.getRequiredInput("output");
const threads = util.getThreadsFlag(actionsUtil.getOptionalInput("threads") || process.env["CODEQL_THREADS"], logger);

File diff suppressed because one or more lines are too long

View File

@@ -208,6 +208,9 @@ async function run() {
);
}
// Log steps input for debugging
logger.info(`Steps input: ${actionsUtil.getRequiredInput("steps")}`);
const apiDetails = getApiDetails();
const outputDir = actionsUtil.getRequiredInput("output");
const threads = util.getThreadsFlag(