From af87cc6ba5fbd43d4f8a1887fe0507cc01fc599c Mon Sep 17 00:00:00 2001 From: Angela P Wen Date: Mon, 1 Aug 2022 11:52:03 +0200 Subject: [PATCH] Improve for `matrix` Co-authored-by: Andrew Eisenberg --- src/actions-util.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/actions-util.ts b/src/actions-util.ts index 2038be98a..952ddcd3f 100644 --- a/src/actions-util.ts +++ b/src/actions-util.ts @@ -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]}`; }