How can I always install the latest version of mise in jdx/mise-action #8007
Replies: 1 comment 1 reply
|
The cache key contains a mise version by default, so I believe old caches are not fetched. Aren't you overriding the cache key? It could be helpful for other users to have this in the mise-action repo, as this is not a problem with mise itself. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I recently discovered that by default, jdx/mise-action reads mise and tools from the cache and does not check for updates. This causes my GitHub Actions to keep using an old version of mise until the cache expires. I would like to know if there is a way to check for mise updates after loading the cache and install the new version if available.
I asked GitHub Copilot, which suggested first fetching the MISE VERSION and writing it to
$GITHUB_OUTPUT, then using this version for mise-action. Are there any other parameters that can make mise-action always check for updates to mise and tools? Or should I just remove the cache?Sorry for raising this discussion in the mise repository, perhaps I should open an issue in mise-action instead.
All reactions