File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 4444 CI_ARGS : " --batch-mode"
4545 SKIP_UNSTABLE_TESTS : 1
4646 - name : Upload test results to Codecov
47- if : ${{ !cancelled() }}
47+ if : ${{ !cancelled() && hashFiles('**/target/surefire-reports/TEST-*.xml') != '' }}
4848 uses : codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
4949 with :
5050 directory : .
5454 report_type : test_results
5555 token : ${{ secrets.CODECOV_TOKEN }}
5656 - name : Upload coverage to Codecov
57- if : ${{ !cancelled() && startsWith(matrix.java-version, '14') }}
57+ if : ${{ !cancelled() && startsWith(matrix.java-version, '14') && hashFiles('**/target/site/jacoco/jacoco.xml') != '' }}
5858 uses : codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
5959 with :
6060 files : " **/target/site/jacoco/jacoco.xml"
You can’t perform that action at this time.
0 commit comments