File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -48,11 +48,11 @@ jobs:
48
48
core.summary.addHeading('Build Summary');
49
49
50
50
let table = [
51
- {data: 'plugin/platform', header: true},
51
+ [ {data: 'plugin/platform', header: true}] ,
52
52
];
53
53
let platforms = [];
54
54
Object.entries(raw.platforms).forEach(([key, platform]) => {
55
- table.push({data: key, header: true});
55
+ table[0] .push({data: key, header: true});
56
56
platforms.push(platform.asset_tag);
57
57
});
58
58
@@ -68,13 +68,15 @@ jobs:
68
68
});
69
69
70
70
Object.keys(raw.plugins).forEach((plugin) => {
71
- table.push( {data: plugin, header: true}) ;
71
+ let row = [ {data: plugin, header: true}] ;
72
72
let filtered = artifacts.filter((artifact) => artifact.name.includes(plugin));
73
73
platforms.forEach((tag) => {
74
- table .push({
74
+ row .push({
75
75
data: filtered.some((artifact) => artifact.name.includes(tag)) ? ':o:' : ':x:'
76
76
});
77
77
});
78
+ table.push(row);
78
79
});
79
80
80
81
core.summary.addTable(table);
82
+ core.summary.write()
You can’t perform that action at this time.
0 commit comments