CI: Improve Cmake build reporting, print built targets (and only this)

This commit is contained in:
0penBrain
2023-02-17 08:08:40 -06:00
committed by Chris Hennes
parent 6cb194e461
commit fb818a81cf
@@ -63,9 +63,9 @@ runs:
echo '```' >> ${{ inputs.reportFile }}
cat ${{ inputs.errorFile }} >> ${{ inputs.reportFile }}
echo '```' >> ${{ inputs.reportFile }}
echo "Build Log (stdout output trimmed to the last 100 Lines):" >> ${{ inputs.reportFile }}
echo "Build Log (only built targets reported):" >> ${{ inputs.reportFile }}
echo '```' >> ${{ inputs.reportFile }}
tail -n 50 ${{ inputs.logFile }} >> ${{ inputs.reportFile }}
cat ${{ inputs.logFile }} | sed -ne '/Built target/p' >> ${{ inputs.reportFile }}
echo '```' >> ${{ inputs.reportFile }}
echo "</details>">> ${{ inputs.reportFile }}
echo "" >> ${{ inputs.reportFile }}