Hi! We’ve been using the codecov PyPI package for the past several years which has always been working without problem. We’re now trying to migrate to the codecov-action but are running into issues.
The action always ends up exiting with the following:
==> Running version v0.4.1
/home/runner/actions-runner/_work/_actions/codecov/codecov-action/v3/dist/codecov -n -Q github-action-3.1.2 -Z -v
/home/runner/actions-runner/_work/_actions/codecov/codecov-action/v3/dist/codecov: 1: ELF: not found
/home/runner/actions-runner/_work/_actions/codecov/codecov-action/v3/dist/codecov: 1: Syntax error: end of file unexpected (expecting ")")
Error: Codecov: Failed to properly upload: The process '/home/runner/actions-runner/_work/_actions/codecov/codecov-action/v3/dist/codecov' failed with exit code 2
Originally tried just this:
- uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
And eventually ended up with this:
But always got the same error message.
Saw a few threads suggesting to rotate the CODECOV_TOKEN, which I tried but also seemed to not make a difference.
Any idea what might be going on here?
We’re using an arm64 actions runner, maybe that’s the problem – but that always worked fine with the PyPI package.
Thanks!