Skip to content

Commit c3e6fbb

Browse files
Fix output formats for CI
1 parent 0d1c9fb commit c3e6fbb

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

.github/workflows/measure-disk-usage.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,19 +33,15 @@ jobs:
3333
ddev size status --format png,csv,markdown
3434
cat size-uncompressed.txt
3535
echo "# Size (uncompressed)" >> $GITHUB_STEP_SUMMARY
36-
echo '```' >> $GITHUB_STEP_SUMMARY
3736
cat uncompressed_status.md >> $GITHUB_STEP_SUMMARY
38-
echo '```' >> $GITHUB_STEP_SUMMARY
3937
4038
- name: Measure disk usage (compressed)
4139
run: |
4240
ddev size status --compressed > size-compressed.txt
4341
ddev size status --compressed --format png,csv,markdown
4442
cat size-compressed.txt
4543
echo "# Size (compressed)" >> $GITHUB_STEP_SUMMARY
46-
echo '```' >> $GITHUB_STEP_SUMMARY
4744
cat compressed_status.md >> $GITHUB_STEP_SUMMARY
48-
echo '```' >> $GITHUB_STEP_SUMMARY
4945
5046
5147
- name: Measure disk usage differences from last commit (uncompressed)

ddev/src/ddev/cli/size/utils/common_funcs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ def save_markdown(
472472
lines.append("| " + " | ".join(str(row.get(h, "")) for h in headers) + " |")
473473
lines.append("")
474474

475-
markdown = "\n".join(lines) + '\n'
475+
markdown = "\n".join(lines)
476476

477477
with open(file_path, "a", encoding="utf-8") as f:
478478
f.write(markdown)

0 commit comments

Comments
 (0)