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 7915aad commit 221aaa8Copy full SHA for 221aaa8
src/main.ts
@@ -56,15 +56,10 @@ async function sendMessageToWeComBot(
56
core.error('Unsupported message type')
57
}
58
59
- core.setOutput('type', type)
60
- core.setOutput('message', message)
61
-
62
try {
63
- const res = await axios.post(url, payload)
+ await axios.post(url, payload)
64
core.info('Message sent to WeCom Bot successfully.')
65
- core.setOutput('res', res.data?.message)
66
} catch (error: any) {
67
- core.setOutput('error', error)
68
core.error(`Failed to send message to WeCom Bot: ${error.message}`)
69
70
0 commit comments