Minor syntax update
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com>
This commit is contained in:
parent
af87cc6ba5
commit
6630cbeccb
1 changed files with 2 additions and 2 deletions
|
|
@ -888,8 +888,8 @@ export async function uploadDebugArtifacts(
|
|||
let suffix = "";
|
||||
const matrix = getRequiredInput("matrix");
|
||||
if (matrix) {
|
||||
for (const entry of Object.entries(JSON.parse(matrix)).sort())
|
||||
suffix += `-${entry[1]}`;
|
||||
for (const [, matrixVal] of Object.entries(JSON.parse(matrix)).sort())
|
||||
suffix += `-${matrixVal}`;
|
||||
}
|
||||
await artifact.create().uploadArtifact(
|
||||
sanitizeArifactName(`${artifactName}${suffix}`),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue