setup-python
setup-python copied to clipboard
Add a new input to skip cache updates
Description:
When this action is used with caching enabled, PRs and non-main branches creates new cache artifacts which may be overwhelming. This can be mitigated if something like skip-cache-update: bool option is added and users define it as false if the action runs in a branch that is not main. This would skip the post stage of the action to effectively cancel the cache pushing.
Hello @ozancaglayan. Thank you for your feature request. We'll take a look on it.
Ah, turns out I had the same idea! #762