File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -68,23 +68,14 @@ jobs:
6868 name : base-jacoco-xml
6969 path : coverage-artifacts
7070
71- - name : Find coverage report
72- id : find_report
73- run : |
74- report_path=$(find coverage-artifacts -name jacocoTestReport.xml)
75- echo "report_path=${report_path}" >> "$GITHUB_OUTPUT"
76-
7771 - name : Show coverage files
78- run : |
79- echo "Found report at: ${{ steps.find_report.outputs.report_path }}"
80- find coverage-artifacts -type f | sort
72+ run : find coverage-artifacts -type f | sort
8173
8274 - name : Upload base coverage to Codecov
8375 uses : codecov/codecov-action@v5
76+ working-directory : ./coverage-artifacts
8477 with :
8578 token : ${{ secrets.CODECOV_TOKEN }}
86- files : ${{ steps.find_report.outputs.report_path }}
87- disable_search : true
8879 override_branch : ${{ github.ref_name }}
8980 fail_ci_if_error : true
9081 verbose : true
Original file line number Diff line number Diff line change 5656 exit 1
5757 fi
5858
59- - name : Find coverage report
60- id : find_report
61- run : |
62- report_path=$(find coverage -name jacocoTestReport.xml)
63- echo "report_path=${report_path}" >> "$GITHUB_OUTPUT"
64-
6559 - name : Show downloaded files
6660 shell : bash
6761 run : |
68- echo "Found report at: ${{ steps.find_report.outputs.report_path }}"
6962 echo "Coverage files:"
7063 find coverage -type f | sort
7164 echo
8174
8275 - name : Upload to Codecov
8376 uses : codecov/codecov-action@v5
77+ working-directory : ./coverage
8478 with :
8579 token : ${{ secrets.CODECOV_TOKEN }}
86- files : ${{ steps.find_report.outputs.report_path }}
87- disable_search : true
8880 override_commit : ${{ steps.pr.outputs.sha }}
8981 override_branch : ${{ steps.pr.outputs.branch }}
9082 override_pr : ${{ steps.pr.outputs.number }}
You can’t perform that action at this time.
0 commit comments