We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f9ce4b2 + e4cb775 commit c7963ecCopy full SHA for c7963ec
.github/workflows/dvc-diff.yml
@@ -48,15 +48,15 @@ jobs:
48
id: image-diff
49
run: |
50
# Get just the filename of the changed image from the report
51
- awk 'NR>=7 {print $4}' report.md > diff_files.txt
+ awk 'NF==5 && NR>=7 {print $4}' report.md > diff_files.txt
52
53
# Append each image to the markdown report
54
echo -e "## Image diff(s)\n" >> report.md
55
echo -e "<details>\n" >> report.md
56
57
while IFS= read -r line; do
58
echo -e "- $line \n" >> report.md
59
- cml-publish --title $line --md "$line" >> report.md
+ cml-publish --title $line --md "$line" >> report.md < /dev/null
60
done < diff_files.txt
61
62
echo -e "</details>\n" >> report.md
0 commit comments