mirror of
https://github.com/dawidd6/action-send-mail.git
synced 2024-12-26 11:03:06 +07: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…
Reference in New Issue
Block a user