There was an error while loading. Please reload this page.
1 parent 58a9691 commit 9a36419Copy full SHA for 9a36419
1 file changed
.github/workflows/publish_nuget.yml
@@ -123,7 +123,7 @@ jobs:
123
echo "|---------|------|" >> $GITHUB_STEP_SUMMARY
124
for f in *.nupkg; do
125
[ -f "$f" ] || continue
126
- size=$(du -h "$f" | cut -f1)
+ size=$(numfmt --to=iec --suffix=B --format="%.2f" "$(stat -c %s "$f")")
127
echo "| \`${f}\` | ${size} |" >> $GITHUB_STEP_SUMMARY
128
done
129
echo "" >> $GITHUB_STEP_SUMMARY
0 commit comments