Skip to content

Commit

Permalink
Improve for matrix
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com>
  • Loading branch information
2 people authored and GitHub committed Aug 1, 2022
1 parent ebc59ec commit af87cc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/actions-util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -887,7 +887,7 @@ export async function uploadDebugArtifacts(
}
let suffix = "";
const matrix = getRequiredInput("matrix");
if (matrix !== undefined && matrix !== "null") {
if (matrix) {
for (const entry of Object.entries(JSON.parse(matrix)).sort())
suffix += `-${entry[1]}`;
}
Expand Down

0 comments on commit af87cc6

Please sign in to comment.