Skip to content

Commit 58ae981

Browse files
committed
float size
1 parent 6340713 commit 58ae981

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
@@ -79,8 +79,7 @@ jobs:
7979
artifact_name=$(echo "$artifact" | cut -d '=' -f2)
8080
artifact_name=${artifact_name%-$artifact_version.jar}
8181
artifact_size=$(grep "${artifact%%.filename*}.length" target/powertools-parent-*.buildinfo | cut -d '=' -f2)
82-
artifact_size=$((artifact_size/1000))
83-
echo "| ${artifact_name} | ${artifact_version} | ${artifact_size} |" >> report.md
82+
printf "| %s | %s | %.2f |\n" "$artifact_name" "$artifact_version" "$(bc <<< "scale=2; $artifact_size/1000")" >> report.md
8483
done
8584
- name: Find potential existing report
8685
if: ${{ matrix.java == '11.0.x' }} # do it once

0 commit comments

Comments
 (0)