We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62b3e88 commit 47bfd07Copy full SHA for 47bfd07
index.js
@@ -62,7 +62,7 @@ ${error}`;
62
core.setOutput('result', JSON.stringify(outputs_struct))
63
64
if (!isEmptyInput(outputs)) {
65
- const artifact_content = isEmptyInput(matrix_key) ? outputs_struct : { matrix_key: outputs_struct }
+ const artifact_content = isEmptyInput(matrix_key) ? outputs_struct : { [matrix_key]: outputs_struct }
66
67
fs.writeFileSync("./" + step_name, JSON.stringify(artifact_content));
68
const fileBuffer = fs.readFileSync("./" + step_name);
@@ -86,4 +86,4 @@ ${error}`;
86
}
87
} catch (error) {
88
core.setFailed(error.message);
89
-}
+}
0 commit comments