File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -48,11 +48,11 @@ jobs:
4848 core.summary.addHeading('Build Summary');
4949
5050 let table = [
51- {data: 'plugin/platform', header: true},
51+ [ {data: 'plugin/platform', header: true}] ,
5252 ];
5353 let platforms = [];
5454 Object.entries(raw.platforms).forEach(([key, platform]) => {
55- table.push({data: key, header: true});
55+ table[0] .push({data: key, header: true});
5656 platforms.push(platform.asset_tag);
5757 });
5858
@@ -68,13 +68,14 @@ jobs:
6868 });
6969
7070 Object.keys(raw.plugins).forEach((plugin) => {
71- table.push( {data: plugin, header: true}) ;
71+ let row = [ {data: plugin, header: true}] ;
7272 let filtered = artifacts.filter((artifact) => artifact.name.includes(plugin));
7373 platforms.forEach((tag) => {
74- table .push({
74+ row .push({
7575 data: filtered.some((artifact) => artifact.name.includes(tag)) ? ':o:' : ':x:'
7676 });
7777 });
78+ table.push(row);
7879 });
7980
8081 core.summary.addTable(table);
You can’t perform that action at this time.
0 commit comments