Skip to content

Commit

Permalink
chore(ci): ci 巡检失败,上传 diff 图片 (#1876)
Browse files Browse the repository at this point in the history
  • Loading branch information
zengyue authored Oct 30, 2023
1 parent b01095e commit 7394a0f
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/ci_schedule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/**

0 comments on commit 7394a0f

Please sign in to comment.