Skip to content

Commit 450d67c

Browse files
committed
float size
1 parent a52cbd0 commit 450d67c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,7 @@ jobs:
8585
artifact_name=$(echo "$artifact" | cut -d '=' -f2)
8686
artifact_name=${artifact_name%-$artifact_version.jar}
8787
artifact_size=$(grep "${artifact%%.filename*}.length" target/powertools-parent-*.buildinfo | cut -d '=' -f2)
88-
artifact_size=$((artifact_size/1000))
89-
echo "| ${artifact_name} | ${artifact_version} | ${artifact_size} |" >> report.md
88+
printf "| %s | %s | %.2f |\n" "$artifact_name" "$artifact_version" "$(bc <<< "scale=2; $artifact_size/1000")" >> report.md
9089
done
9190
- name: Find potential existing report
9291
if: ${{ matrix.java == '11.0.x' }} # do it once

0 commit comments

Comments
 (0)