diff --git a/src/buildSummary.ts b/src/buildSummary.ts index 23f984a..0d3da2e 100644 --- a/src/buildSummary.ts +++ b/src/buildSummary.ts @@ -106,8 +106,8 @@ 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((job as string) => { - console.log(`Job: ${job.name}`), + 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}`),