ソースを参照

Update benchmark.yml

quyuan01 1 年間 前
コミット
f94ea757dc
1 ファイル変更4 行追加5 行削除
  1. 4 5
      .github/workflows/benchmark.yml

+ 4 - 5
.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
+         >失败详清查看:<font color=\"comment\">https://github.com/'${{ github.repository }}'/actions/runs/'${GITHUB_RUN_ID}</font> "
         } 
         }'