mirror of
https://github.com/fjogeleit/http-request-action.git
synced 2026-02-04 16:45:52 +08:00
revert setFailed to setOutput
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user