Skip to content

Commit

Permalink
Make table diff GH output multiline
Browse files Browse the repository at this point in the history
  • Loading branch information
chrysle committed Apr 29, 2024
1 parent 5095dcd commit eef52af
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,11 @@ jobs:
cat report.json
python report_to_table.py
git diff table.md
DIFF_FOR_TABLE=$(git diff table.md)
echo "DIFF_FOR_TABLE=$DIFF_FOR_TABLE" >> $GITHUB_OUTPUT
{
echo 'DIFF_FOR_TABLE<<EOF'
git diff table.md
echo 'EOF'
} >> $GITHUB_OUTPUT
id: verify-table
- name: Fail the job if the committed table differs from the calculated one
if: steps.verify-table.outputs.DIFF_FOR_TABLE != ''
Expand Down

0 comments on commit eef52af

Please sign in to comment.