From 2d54a5b5925ccd3f583b020742302861cc7ef01b Mon Sep 17 00:00:00 2001 From: lipandeng Date: Mon, 16 Dec 2024 12:21:58 +0800 Subject: [PATCH] chore: use main.breakdown --- .github/workflows/tests.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9d06558..139c6cd 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -34,8 +34,8 @@ jobs: - name: Ensure default.breakdown exists if download fails run: | if [ ! -f main.breakdown ]; then - echo "main.breakdown not found. Creating an empty default.breakdown file." - touch default.breakdown + echo "main.breakdown not found. Creating an empty main.breakdown file." + touch main.breakdown else echo "main.breakdown found." fi @@ -49,7 +49,7 @@ jobs: # If this is not main branch we want to show report including # file coverage difference from main branch. - diff-base-breakdown-file-name: ${{ steps.download-main-breakdown.outputs.found_artifact && 'main.breakdown' || 'default.breakdown' }} + diff-base-breakdown-file-name: ${{ steps.download-main-breakdown.outputs.found_artifact && 'main.breakdown' || 'main.breakdown' }} - name: Upload Artifact (main.breakdown) uses: actions/upload-artifact@v4 if: github.ref_name == 'main'