ci/eval/compare: reorder step summary

Move "Packages" up, because it's much shorter and easier to scroll past.
This way both Packages and Performance are visible immediately.
This commit is contained in:
Wolfgang Walther
2025-08-08 19:15:38 +02:00
parent 51e6b0e40b
commit f05895fb3c

View File

@@ -146,6 +146,12 @@ runCommand "compare"
cp ${changed-paths} $out/changed-paths.json
{
echo
echo "# Packages"
echo
jq -r -f ${./generate-step-summary.jq} < ${changed-paths}
} >> $out/step-summary.md
if jq -e '(.attrdiff.added | length == 0) and (.attrdiff.removed | length == 0)' "${changed-paths}" > /dev/null; then
# Chunks have changed between revisions
@@ -175,12 +181,5 @@ runCommand "compare"
} >> $out/step-summary.md
fi
{
echo
echo "# Packages"
echo
jq -r -f ${./generate-step-summary.jq} < ${changed-paths}
} >> $out/step-summary.md
cp "$maintainersPath" "$out/maintainers.json"
''