mirror of
https://git.studyfor.work/actions/action-send-mail.git
synced 2026-01-12 00:56:03 +08:00
main: use core.info instead of console.log
This commit is contained in:
parent
8c2729a391
commit
8465ba4d6e
2
main.js
2
main.js
@ -41,7 +41,7 @@ async function main() {
|
|||||||
html: html == "true" ? get_body(body) : undefined,
|
html: html == "true" ? get_body(body) : undefined,
|
||||||
})
|
})
|
||||||
|
|
||||||
console.log(info)
|
core.info(info)
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
core.setFailed(error.message)
|
core.setFailed(error.message)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user