Skip to content

Commit

Permalink
revert setFailed to setOutput
Browse files Browse the repository at this point in the history
  • Loading branch information
Frank committed Jul 19, 2020
1 parent 82c8e38 commit f90afba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit f90afba

Please sign in to comment.