Skip to content

Commit c7963ec

Browse files
authored
Merge branch 'master' into test-shift_origin
2 parents f9ce4b2 + e4cb775 commit c7963ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/dvc-diff.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,15 @@ jobs:
4848
id: image-diff
4949
run: |
5050
# Get just the filename of the changed image from the report
51-
awk 'NR>=7 {print $4}' report.md > diff_files.txt
51+
awk 'NF==5 && NR>=7 {print $4}' report.md > diff_files.txt
5252
5353
# Append each image to the markdown report
5454
echo -e "## Image diff(s)\n" >> report.md
5555
echo -e "<details>\n" >> report.md
5656
5757
while IFS= read -r line; do
5858
echo -e "- $line \n" >> report.md
59-
cml-publish --title $line --md "$line" >> report.md
59+
cml-publish --title $line --md "$line" >> report.md < /dev/null
6060
done < diff_files.txt
6161
6262
echo -e "</details>\n" >> report.md

0 commit comments

Comments
 (0)