From 7394a0f5f172a04bca9fc839bf48e411ed07f0dd Mon Sep 17 00:00:00 2001 From: zengyue ye Date: Mon, 30 Oct 2023 11:09:23 +0800 Subject: [PATCH] =?UTF-8?q?chore(ci):=20ci=20=E5=B7=A1=E6=A3=80=E5=A4=B1?= =?UTF-8?q?=E8=B4=A5=EF=BC=8C=E4=B8=8A=E4=BC=A0=20diff=20=E5=9B=BE?= =?UTF-8?q?=E7=89=87=20(#1876)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci_schedule.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci_schedule.yml b/.github/workflows/ci_schedule.yml index 93fd3d2d8..289f85f07 100644 --- a/.github/workflows/ci_schedule.yml +++ b/.github/workflows/ci_schedule.yml @@ -52,9 +52,19 @@ jobs: { "msgtype": "link", "link": { - "title": "😳 CI 巡检失败", + "title": "😳 F2 CI 巡检失败", "text": "🔗 请点击链接查看具体原因", "messageUrl": "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}", "picUrl": "https://gw.alipayobjects.com/zos/finxbff/compress-tinypng/ea88c724-38fb-42aa-8055-0e08155368b9.png" } } + + # 保存巡检失败的 diff 图片 + - name: save diff snapshot + uses: actions/upload-artifact@v2 + if: ${{ failure() }} + with: + name: diff snapshot + path: | + packages/**/__image_snapshots__/__diff_output__/*.png + !**/node_modules/**