masa-iwasaki / setup-rbenv

Set up your GitHub Actions workflow with rbenv
MIT License
16 stars 3 forks source link

cache rbenv install itself #6

Open vvo opened 4 years ago

vvo commented 4 years ago

Hi there, thanks for this action, very useful!

Is there a way to cache the rbenv installation itself you think?

masa-iwasaki commented 4 years ago

AFAIK, custom actions would not be able to manipulate caches as actions/cache does.

clupprich/ruby-build-action looks adopting a smart approach by retrieving cache status as a parameter from users. I think this approach is worth to consider if it is applicable to setup-rbenv.