feat: log body
This commit is contained in:
parent
1b3399a065
commit
d870af4f08
2
dist/index.js
vendored
2
dist/index.js
vendored
@ -396,7 +396,7 @@ function run() {
|
|||||||
try {
|
try {
|
||||||
const token = core.getInput('dingToken');
|
const token = core.getInput('dingToken');
|
||||||
const body = core.getInput('body');
|
const body = core.getInput('body');
|
||||||
core.debug(`Send body: ${body}`);
|
core.info(`Send body: ${body}`);
|
||||||
try {
|
try {
|
||||||
const resp = yield axios_1.default({
|
const resp = yield axios_1.default({
|
||||||
method: 'post',
|
method: 'post',
|
||||||
|
@ -7,7 +7,7 @@ async function run(): Promise<void> {
|
|||||||
try {
|
try {
|
||||||
const token: string = core.getInput('dingToken')
|
const token: string = core.getInput('dingToken')
|
||||||
const body: string = core.getInput('body')
|
const body: string = core.getInput('body')
|
||||||
core.debug(`Send body: ${body}`)
|
core.info(`Send body: ${body}`)
|
||||||
try {
|
try {
|
||||||
const resp = await axios({
|
const resp = await axios({
|
||||||
method: 'post',
|
method: 'post',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user