Skip to content

Commit 221aaa8

Browse files
committed
chore: remove ouput
1 parent 7915aad commit 221aaa8

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/main.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,10 @@ async function sendMessageToWeComBot(
5656
core.error('Unsupported message type')
5757
}
5858

59-
core.setOutput('type', type)
60-
core.setOutput('message', message)
61-
6259
try {
63-
const res = await axios.post(url, payload)
60+
await axios.post(url, payload)
6461
core.info('Message sent to WeCom Bot successfully.')
65-
core.setOutput('res', res.data?.message)
6662
} catch (error: any) {
67-
core.setOutput('error', error)
6863
core.error(`Failed to send message to WeCom Bot: ${error.message}`)
6964
}
7065
}

0 commit comments

Comments
 (0)