chore(ci): display size in MB

This commit is contained in:
Elian Doran 2025-04-03 12:58:02 +03:00
parent 194f05dc9d
commit 8730a99aeb
No known key found for this signature in database
2 changed files with 11 additions and 1 deletions

View File

@ -14,6 +14,13 @@ inputs:
description: 'Report only different sizes'
required: false
default: 'false'
filter:
description: 'Regex filter based on file path'
required: false
unit:
description: 'Size unit'
required: false
default: 'KB'
# Comment inputs
comment:
@ -50,6 +57,8 @@ runs:
with:
paths: ${{ inputs.paths }}
onlyDiff: ${{ inputs.onlyDiff }}
filter: ${{ inputs.filter }}
unit: ${{ inputs.unit }}
# Post github action summary
- name: Post summary

View File

@ -49,7 +49,7 @@ jobs:
onlyDiff: 'true'
branch: 'develop'
header: 'Size report'
append: true
size: "MB"
ghToken: ${{ secrets.GITHUB_TOKEN }}
report-server-size:
name: Report server size
@ -80,6 +80,7 @@ jobs:
branch: 'develop'
header: 'Size report'
append: true
size: "MB"
ghToken: ${{ secrets.GITHUB_TOKEN }}
test_dev: