From f94ea757dc6fcd282ea7961dd28a10cec96e209f Mon Sep 17 00:00:00 2001 From: quyuan01 <102640628+quyuan01@users.noreply.github.com> Date: Thu, 11 Apr 2024 11:02:29 +0800 Subject: [PATCH] Update benchmark.yml --- .github/workflows/benchmark.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index d28ddde6..0bb5bdf5 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -53,10 +53,9 @@ jobs: - name: notify run: | curl ${{ secrets.WEBHOOK_URL }} -H 'Content-Type: application/json' -d '{ - "msgtype": "text", - "text": { - "content": ''' - "'${{ github.repository }}' GitHubAction Failed! \n" + "Please click here for details \n" + "https://github.com/'${{ github.repository }}'/actions/runs/'${GITHUB_RUN_ID}'" - ''' + "msgtype": "markdown", + "markdown": { + "content": "'${{ github.repository }}' GitHubAction Failed!\n + >失败详清查看:https://github.com/'${{ github.repository }}'/actions/runs/'${GITHUB_RUN_ID} " } }'