Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ci): ci 巡检失败,上传 diff 图片 #1876

Merged
merged 1 commit into from
Oct 30, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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/**
Loading