You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I expect that if I set version in this action, that's the version that will be installed. Instead, as long as there is any file in ~/.local/share/mise/bin/mise, this action does nothing:
Run jdx/mise-action@v2
with:
install: false
cache: false
version: 2025.1.1
log_level: debug
cache_save: true
cache_key_prefix: mise-v0
experimental: false
Setting env vars
Setting MISE_LOG_LEVEL=debug
Setting MISE_TRUSTED_CONFIG_PATHS=/home/penguin/actions-runner/_work/stately/stately
Setting MISE_YES=1
Adding /home/penguin/.local/share/mise/shims to PATH
Running mise --version
/home/penguin/.local/share/mise/bin/mise --version
2024.10.4 linux-x64 (6c21c0a 2024-10-14)
In this case I wanted 2025.1.1 but I have 2024.10.4 installed. I would need to manually uninstall in order to get a different version. It's clear to see why this happens - setupMise only installs if the binary is missing. This probably works fine for ephemeral GitHub runners that start anew every time, but when using self-hosted runners that keep their state between runs, it means we can't install a specific mise version through this action.
To fix, the action should not only check if the file exists, but check that it is the desired version.
The text was updated successfully, but these errors were encountered:
I expect that if I set
version
in this action, that's the version that will be installed. Instead, as long as there is any file in~/.local/share/mise/bin/mise
, this action does nothing:In this case I wanted
2025.1.1
but I have2024.10.4
installed. I would need to manually uninstall in order to get a different version. It's clear to see why this happens - setupMise only installs if the binary is missing. This probably works fine for ephemeral GitHub runners that start anew every time, but when using self-hosted runners that keep their state between runs, it means we can't install a specific mise version through this action.To fix, the action should not only check if the file exists, but check that it is the desired version.
The text was updated successfully, but these errors were encountered: