Describe the bug
When specifying the file that should be uploaded (coverage.xml) with the files option and even using disable_search as the docs suggest, the logs still show "Generating coverage.xml" and the action overwrites the existing coverage.xml, fails (because it's using the wrong RC file) and the job fails.
This seems particularly odd behaviour to me given that the example workflows suggest you should generate the xml file in the previous step. So why is codecov-action generating it a second time?
To Reproduce
https://github.com/aio-libs/aiohttp/actions/runs/24285058345/job/70912960518
Expected behavior
Don't overwrite my coverage.xml file.
Product Area
action
Versions
- CI/CD: GitHub Actions
- Uploader: codecov-action@v6
Describe the bug
When specifying the file that should be uploaded (coverage.xml) with the files option and even using disable_search as the docs suggest, the logs still show "Generating coverage.xml" and the action overwrites the existing coverage.xml, fails (because it's using the wrong RC file) and the job fails.
This seems particularly odd behaviour to me given that the example workflows suggest you should generate the xml file in the previous step. So why is codecov-action generating it a second time?
To Reproduce
https://github.com/aio-libs/aiohttp/actions/runs/24285058345/job/70912960518
Expected behavior
Don't overwrite my coverage.xml file.
Product Area
action
Versions