Skip to content

Commit 2dd3442

Browse files
committed
ci: squash this commit
Signed-off-by: Yi Huang <[email protected]>
1 parent 7995a8e commit 2dd3442

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff 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,15 @@ 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);
82+
core.summary.write()

0 commit comments

Comments
 (0)