From ba6f8715e85e862c829da8a14555a097e892d163 Mon Sep 17 00:00:00 2001 From: Nikhil Bhoski <47204011+nbhoski@users.noreply.github.com> Date: Wed, 22 May 2024 11:13:55 +0530 Subject: [PATCH] Testing JSON parse --- src/buildSummary.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/buildSummary.ts b/src/buildSummary.ts index 83eea0a..fb82012 100644 --- a/src/buildSummary.ts +++ b/src/buildSummary.ts @@ -52,13 +52,14 @@ const tableData = [ {data: 'Status', header: true}, {data: 'Description', header: true}, {data: 'Duration (HH:MM:SS)', header: true} -] +]; + let t = []; arrayOfStringArrays.forEach(subArray => { t.push(subArray); }); core.summary .addHeading('MATLAB Build Results') - .addTable([tableData,t]) + .addTable([tableDatat],[t]) .write() }