Skip to content

Commit

Permalink
chore: use main.breakdown
Browse files Browse the repository at this point in the history
  • Loading branch information
BytePender committed Dec 16, 2024
1 parent c1465aa commit 2d54a5b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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'
Expand Down

0 comments on commit 2d54a5b

Please sign in to comment.