Skip to content

Commit

Permalink
Ensure png image is viewable and add markdown header before image diff
Browse files Browse the repository at this point in the history
  • Loading branch information
weiji14 committed Mar 23, 2021
1 parent a314617 commit b4c1da5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/dvc-diff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,9 @@ jobs:
tail --lines=+3 report.md | cut --delimiter=' ' --fields=7 > diff_files.txt
# Append each image to the markdown report
echo -e "## Image diff(s)\n" >> report.md
while IFS= read -r line; do
cml-publish "$line" >> report.md
cml-publish --md "$line" >> report.md
done < diff_files.txt
# Send diff report as GitHub comment
Expand Down

1 comment on commit b4c1da5

@github-actions

This comment was marked as outdated.

Please sign in to comment.