File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 6060 profile : ubuntu-latest-profile,macos-latest-profile,windows-latest-profile
6161 git-branch : badges
6262 git-token : ${{ github.ref_name == 'main' && secrets.GITHUB_TOKEN || '' }}
63+ breakdown-file-name : ${{ github.ref_name == 'main' && 'main.breakdown' || '' }}
6364
6465 # Post coverage report as comment
6566 - name : find pull request ID
9899 - name : " finally check coverage"
99100 if : steps.coverage.outcome == 'failure'
100101 shell : bash
101- run : echo "coverage check failed" && exit 1
102+ run : echo "coverage check failed" && exit 1
103+
104+ - name : upload artifact (main.breakdown)
105+ uses : actions/upload-artifact@v4
106+ if : github.ref_name == 'main'
107+ with :
108+ name : main.breakdown
109+ path : main.breakdown
110+ if-no-files-found : error
You can’t perform that action at this time.
0 commit comments