From f90afba39ac141a2abf2515dfd70f7147465a8e8 Mon Sep 17 00:00:00 2001 From: Frank Date: Sun, 19 Jul 2020 10:08:45 +0200 Subject: [PATCH] revert setFailed to setOutput --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index ad18ae1..f817158 100644 --- a/src/index.js +++ b/src/index.js @@ -58,7 +58,7 @@ const instance = axios.create(instanceConfig); core.setOutput('response', JSON.stringify(response.data)) } catch (error) { if (error.toJSON) { - core.setFailed(JSON.stringify(error.toJSON())); + core.setOutput(JSON.stringify(error.toJSON())); } if (error.response) {