jdx / mise-action

MIT License
61 stars 7 forks source link

fix: add `install_args` hash to cache key #136

Closed risu729 closed 1 month ago

risu729 commented 1 month ago

Adds hash of tools specified in install_args to the cache key.

If install_args is set to bun, the cache only includes bun will be saved and reused even if install_args is not set.

This also treats 4 in --jobs 4 as tools, but I think it's not a big problem. It can be filtered out but requires a list of options with values. (--cd, --jobs, --profile)