File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 5555 cp screencap.png "screenshot-$theme.png"
5656
5757 # Compare with original theme preview to detect changes, generate a diff
58- python3 tools/compare-images.py "screenshot-$theme.png" "$dir/preview.png" "diff-$theme.png"
59- if [ -f "diff-$theme.png" ]; then
60- echo "::warning::$theme theme rendering has changed, check if it is intentional or a side-effect. A diff is included in the job artifacts."
58+ if [ -f "$dir/preview.png" ]; then
59+ python3 tools/compare-images.py "screenshot-$theme.png" "$dir/preview.png" "diff-$theme.png"
60+ if [ -f "diff-$theme.png" ]; then
61+ echo "::warning::$theme theme rendering has changed, check if it is intentional or a side-effect. A diff is included in the job artifacts."
62+ fi
6163 fi
6264 fi
6365 done
You can’t perform that action at this time.
0 commit comments