Skip to content

Commit c826c6c

Browse files
author
Adrian Chang
committed
done
1 parent 54c3dda commit c826c6c

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/actions/lbox-matrix/index.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26838,11 +26838,15 @@ try {
2683826838
}
2683926839
];
2684026840
const finalMatrix = [];
26841-
files.forEach(file => {
26841+
const packages = files.map(file => {
26842+
return file.split('/')[1];
26843+
});
26844+
const uniquePackages = [... new Set(packages)];
26845+
uniquePackages.forEach(package => {
2684226846
startingMatrix.forEach(matrixItem => {
2684326847
finalMatrix.push({
2684426848
...matrixItem,
26845-
package: file.split('/')[1]
26849+
package
2684626850
});
2684726851
});
2684826852
});

0 commit comments

Comments
 (0)