codecov-action icon indicating copy to clipboard operation
codecov-action copied to clipboard

Support using a pre-installed `codecov` binary

Open veehaitch opened this issue 2 years ago • 8 comments

Currently, the action always downloads the codecov-cli binary:

https://github.com/codecov/codecov-action/blob/a9883cc0b21bfacae39d8ccace5c36d00ed01ece/src/index.ts#L42

This causes trouble in some environments where networking access is restricted (also see #700) or if the action should use a specific version of the binary (e.g., an audited version built from source).

Adding a new argument to action.yml which allows giving an absolute path to the binary would be very helpful.

veehaitch avatar Feb 05 '24 12:02 veehaitch

@veehaitch this is a great idea. I'm a little bit slammed at the moment, but I will work on adding this in sometime this month

thomasrockhu-codecov avatar Feb 06 '24 01:02 thomasrockhu-codecov

Any update on this, @thomasrockhu-codecov? 🙂

veehaitch avatar Feb 26 '24 09:02 veehaitch

@veehaitch gah, time really has caught up to me. Let me see what I can do this week, thanks for following up @veehaitch

thomasrockhu-codecov avatar Feb 26 '24 20:02 thomasrockhu-codecov

Great, thanks for the quick response!

veehaitch avatar Feb 26 '24 20:02 veehaitch

@veehaitch I haven't forgotten about this, we are considering a different architecture to the action that may make this easier to do.

thomasrockhu-codecov avatar Mar 22 '24 19:03 thomasrockhu-codecov

Hey @thomasrockhu-codecov, I just wanted to check in and see if you were still working on that issue. Thanks!

veehaitch avatar Aug 02 '24 08:08 veehaitch