diff --git a/.github/workflows/code-size-report.yml b/.github/workflows/code-size-report.yml index 6537d93..95142e6 100644 --- a/.github/workflows/code-size-report.yml +++ b/.github/workflows/code-size-report.yml @@ -20,6 +20,7 @@ jobs: run: | CODE_SIZE_REPORT=code_size_report.md echo "Test" > ${GITHUB_WORKSPACE}/${CODE_SIZE_REPORT} + if [ -s ${GITHUB_WORKSPACE}/${CODE_SIZE_REPORT} ]; then echo "code_size_report=${CODE_SIZE_REPORT}" >> $GITHUB_OUTPUT fi