feat: log body

This commit is contained in:
zcong1993 2020-06-19 16:00:51 +08:00
parent 1b3399a065
commit d870af4f08
2 changed files with 2 additions and 2 deletions

2
dist/index.js vendored
View File

@ -396,7 +396,7 @@ function run() {
try {
const token = core.getInput('dingToken');
const body = core.getInput('body');
core.debug(`Send body: ${body}`);
core.info(`Send body: ${body}`);
try {
const resp = yield axios_1.default({
method: 'post',

View File

@ -7,7 +7,7 @@ async function run(): Promise<void> {
try {
const token: string = core.getInput('dingToken')
const body: string = core.getInput('body')
core.debug(`Send body: ${body}`)
core.info(`Send body: ${body}`)
try {
const resp = await axios({
method: 'post',