Improve for matrix
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com>
This commit is contained in:
parent
ebc59ec8da
commit
af87cc6ba5
1 changed files with 1 additions and 1 deletions
|
|
@ -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]}`;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue