diff --git a/src/buildSummary.ts b/src/buildSummary.ts index 0d3da2e..619447a 100644 --- a/src/buildSummary.ts +++ b/src/buildSummary.ts @@ -107,10 +107,10 @@ export async function getWorkflowRunJobs(owner: string, repo: string, runId: str // Iterate over the jobs and log the step names const jobs = response.data.jobs; jobs.forEach((jobs as string) => { - console.log(`Job: ${jobs.name}`), - job.steps.forEach((step as string) => { - console.log(` **Step: ${step.name}`), - console.log(` **Uses: ${step.uses}`), + console.log(`Job: ${jobs.name}`); + jobs.steps.forEach((step as string) => { + console.log(` **Step: ${step.name}`); + console.log(` **Uses: ${step.uses}`); }); }); } catch (error) {