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 9139684 commit b7b4985Copy full SHA for b7b4985
dist/index.js
@@ -5587,7 +5587,7 @@ async function main() {
5587
core.setOutput("headers", JSON.stringify(headers, null, 2));
5588
core.setOutput(
5589
"data",
5590
- typeof data === "string" ? data : JSON.stringify(data, null, 2)
+ typeof data === "object" ? JSON.stringify(data, null, 2) : data
5591
);
5592
} catch (error) {
5593
if (error.status) {
0 commit comments