Skip to content

Commit

Permalink
matrix targets subaction
Browse files Browse the repository at this point in the history
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
  • Loading branch information
crazy-max committed Nov 9, 2023
1 parent d8b4c6e commit 6f47acd
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions subaction/matrix-targets/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,7 @@ runs:
});
await core.group(`Set matrix`, async () => {
let matrix = [];
for (const [key, value] of Object.entries(def.target)) {
matrix.push(key);
}
const matrix = Object.keys(def.target);
core.info(`matrix: ${JSON.stringify(matrix)}`);
core.setOutput('matrix', JSON.stringify(matrix));
});

0 comments on commit 6f47acd

Please sign in to comment.