mirror of
https://github.com/github/codeql-action.git
synced 2026-01-02 20:50:05 +08:00
Improve for matrix
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com>
This commit is contained in:
@@ -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]}`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user