Skip to content

Commit

Permalink
[Misc]: Push test 8
Browse files Browse the repository at this point in the history
  • Loading branch information
satoshiotomakan committed Mar 6, 2024
1 parent e77279a commit bd2ff49
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/linux-ci-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,13 @@ jobs:
comment-author: 'github-actions[bot]'
body-includes: Binary size comparison

- name: Craft Comment Body
if: steps.download_prev_artifact.outputs.found_artifact == 'true'
id: compute_sizes
run: |
echo "::set-output size_before=$( du -k prev/registry.json | cut -f1 )"
echo "::set-output size_after=$( du -k registry.json | cut -f1 )"
- name: Create or Update Comment
if: steps.download_prev_artifact.outputs.found_artifact == 'true'
uses: peter-evans/create-or-update-comment@v1
Expand All @@ -145,6 +152,6 @@ jobs:
**Binary size comparison**:
```diff
- registry.json ${{ du -k registry.json | cut -f1 }}
+ registry.json ${{ du -k prev/registry.json | cut -f1 }}
- registry.json ${{ steps.compute_sizes.outputs.size_before }}
+ registry.json ${{ steps.compute_sizes.outputs.size_after }}
```

0 comments on commit bd2ff49

Please sign in to comment.