From 718e87eff0e8e15fb82cb5cd27e3d5c28ade7e70 Mon Sep 17 00:00:00 2001 From: iabdalkader Date: Thu, 25 Jul 2024 12:08:45 +0300 Subject: [PATCH 1/2] update workflows --- .github/workflows/code-size-report.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/code-size-report.yml b/.github/workflows/code-size-report.yml index 0685791..3d86bb6 100644 --- a/.github/workflows/code-size-report.yml +++ b/.github/workflows/code-size-report.yml @@ -18,7 +18,7 @@ jobs: run-id: ${{ github.event.workflow_run.id }} github-token: ${{ github.token }} - - name: '📝 Check report' + - name: '📝 Check Report' run: | # List the contents of the workspace to verify the file exists ls -1 -R ${GITHUB_WORKSPACE} From 91121749701c8a56e238bdef5d998e9909d43769 Mon Sep 17 00:00:00 2001 From: iabdalkader Date: Thu, 25 Jul 2024 12:11:05 +0300 Subject: [PATCH 2/2] update workflows --- .github/workflows/code-size-report.yml | 2 +- .github/workflows/firmware.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/code-size-report.yml b/.github/workflows/code-size-report.yml index 3d86bb6..0685791 100644 --- a/.github/workflows/code-size-report.yml +++ b/.github/workflows/code-size-report.yml @@ -18,7 +18,7 @@ jobs: run-id: ${{ github.event.workflow_run.id }} github-token: ${{ github.token }} - - name: '📝 Check Report' + - name: '📝 Check report' run: | # List the contents of the workspace to verify the file exists ls -1 -R ${GITHUB_WORKSPACE} diff --git a/.github/workflows/firmware.yml b/.github/workflows/firmware.yml index b5935e9..35b0439 100644 --- a/.github/workflows/firmware.yml +++ b/.github/workflows/firmware.yml @@ -13,7 +13,7 @@ jobs: run: | CODE_SIZE_REPORT=${{ github.event.pull_request.number }}.md echo "Test" > ${GITHUB_WORKSPACE}/${CODE_SIZE_REPORT} - if [ -s ${GITHUB_WORKSPACE}/${CODE_SIZE_REPORT}/report.md ]; then + if [ -s ${GITHUB_WORKSPACE}/${CODE_SIZE_REPORT} ]; then echo "code_size_report=${CODE_SIZE_REPORT}" >> $GITHUB_OUTPUT fi