On GitHub-hosted Windows runners, mise's data directory now defaults to the workspace drive (usually D:\mise), which makes cache restores and tool installs much faster. This release also makes sure the action and later steps always run the mise binary it verified.
Changed
mise data lives on the workspace drive on GitHub-hosted Windows runners. On these runners the workspace is on D:, but %LOCALAPPDATA% is on C:, and writes to C: are several times slower. The action now sets MISE_DATA_DIR to D:\mise and exports it before restoring the cache, so the cache, mise, the shims, and later steps all use the same directory. On windows-latest (Go, TinyGo, wasm-tools, wasmtime, binaryen), cache restore dropped from 40–49 s to 10–11 s, and a cold install with cache: false dropped from 47.4 s to 18.6 s.
The new default applies only when RUNNER_ENVIRONMENT=github-hosted, the OS is Windows, and the workspace isn't on %SYSTEMDRIVE%. Self-hosted runners keep %LOCALAPPDATA%\mise. Setting mise_dir, MISE_DATA_DIR, or XDG_DATA_HOME still overrides it. (#756 by @jdx, based on a patch by @kjanat in #752)
Fixed
The action always runs the verified mise binary. The action checked <mise_dir>/bin/mise against sha256 or the signed checksums, but then called mise by name. Because the shims directory came before the bin directory on PATH, a mise in the shims directory could run instead of the verified binary, both inside the action and in later run: mise … steps. The action now calls the verified binary by its absolute path and puts the bin directory ahead of the shims directory on PATH. (#753 by @jdx)
Upgrading
These steps apply only to GitHub-hosted Windows runners:
Existing Windows caches miss once because the cached path has changed.
If your workflow hardcodes %LOCALAPPDATA%\mise paths, such as MISE_RUSTUP_HOME or MISE_CARGO_HOME, or uses a custom actions/cache path, change them to D:\mise\.... To keep the old location, set mise_dir:
A new mise_env input sets the mise environment for the action and exports MISE_ENV to every later step in the job. mise run and mise x in later steps now load the same mise.<env>.toml configs that the action installed and cached.
Added
mise_env input. Before this change, setting MISE_ENV in the action step's env: only applied inside the action. Later steps never saw it and quietly fell back to the base config. Job-level env: worked, but composite actions that pick the environment from their own inputs had to write MISE_ENV to GITHUB_ENV themselves, and security linters such as zizmor flag that. The new input handles the export for you:
- uses:jdx/mise-action@v5with:mise_env:ci# loads mise.ci.toml on top of mise.toml- run:mise run test# also runs with MISE_ENV=ci
The input accepts one or more environments, such as ci or ci,linux. The action exports it before computing the cache key, so {{mise_env}} in a custom cache_key, mise install, and later steps all use the same value. If MISE_ENV is already set, the input takes priority, the same way mise_dir takes priority over MISE_DATA_DIR. If you leave the input unset, nothing changes, and a step-level MISE_ENV still isn't exported. (#745 by @jdx with @veimox and @cprecioso, closes #447)
On Windows, the action can now download mise when an MSYS curl.exe (for example the Rtools one added by r-lib/actions/setup-r) comes first on PATH. Before this fix, the download failed every time while fetching the packslip bundle.
Fixed
mise downloads no longer fail on Windows with MSYS curl.r-lib/actions/setup-r puts the Rtools curl.exe first on PATH. When mise-action ran after it, the mise zip downloaded, but every attempt to fetch packslip.sigstore.json failed with Error: Could not download …/packslip.sigstore.json:. The job stopped after five retries.
The cause was a literal newline in curl's --write-out argument. MSYS curl splits that newline, so the action couldn't read the HTTP status from the response. curl now always writes the response body to a file, and --write-out contains no newline. wget downloads are unchanged. If you ran mise-action before setup-r to work around this, you can now run them in either order. (#744 by @jdx, fixes #743 reported by @eitsupi)
This PR contains the following updates:
| Package | Type | Update | Change | Pending |
|---|---|---|---|---|
| [https://github.com/jdx/mise-action](https://github.com/jdx/mise-action) | action | minor | `v5.2.8` → `v5.4.0` | `v5.5.0` |
---
### Release Notes
<details>
<summary>jdx/mise-action (https://github.com/jdx/mise-action)</summary>
### [`v5.4.0`](https://github.com/jdx/mise-action/releases/tag/v5.4.0): : Faster Windows hosted runners with mise data on the workspace drive
[Compare Source](https://github.com/jdx/mise-action/compare/v5.3.0...v5.4.0)
On GitHub-hosted Windows runners, mise's data directory now defaults to the workspace drive (usually `D:\mise`), which makes cache restores and tool installs much faster. This release also makes sure the action and later steps always run the `mise` binary it verified.
#### Changed
- **mise data lives on the workspace drive on GitHub-hosted Windows runners.** On these runners the workspace is on `D:`, but `%LOCALAPPDATA%` is on `C:`, and writes to `C:` are several times slower. The action now sets `MISE_DATA_DIR` to `D:\mise` and exports it before restoring the cache, so the cache, mise, the shims, and later steps all use the same directory. On `windows-latest` (Go, TinyGo, wasm-tools, wasmtime, binaryen), cache restore dropped from 40–49 s to 10–11 s, and a cold install with `cache: false` dropped from 47.4 s to 18.6 s.
The new default applies only when `RUNNER_ENVIRONMENT=github-hosted`, the OS is Windows, and the workspace isn't on `%SYSTEMDRIVE%`. Self-hosted runners keep `%LOCALAPPDATA%\mise`. Setting `mise_dir`, `MISE_DATA_DIR`, or `XDG_DATA_HOME` still overrides it. ([#​756](https://github.com/jdx/mise-action/pull/756) by [@​jdx](https://github.com/jdx), based on a patch by [@​kjanat](https://github.com/kjanat) in [#​752](https://github.com/jdx/mise-action/pull/752))
#### Fixed
- **The action always runs the verified mise binary.** The action checked `<mise_dir>/bin/mise` against `sha256` or the signed checksums, but then called `mise` by name. Because the shims directory came before the bin directory on `PATH`, a `mise` in the shims directory could run instead of the verified binary, both inside the action and in later `run: mise …` steps. The action now calls the verified binary by its absolute path and puts the bin directory ahead of the shims directory on `PATH`. ([#​753](https://github.com/jdx/mise-action/pull/753) by [@​jdx](https://github.com/jdx))
#### Upgrading
These steps apply only to GitHub-hosted Windows runners:
- Existing Windows caches miss once because the cached path has changed.
- If your workflow hardcodes `%LOCALAPPDATA%\mise` paths, such as `MISE_RUSTUP_HOME` or `MISE_CARGO_HOME`, or uses a custom `actions/cache` path, change them to `D:\mise\...`. To keep the old location, set `mise_dir`:
```yaml
- uses: jdx/mise-action@v5
with:
mise_dir: C:\Users\runneradmin\AppData\Local\mise
```
**Full Changelog**: <https://github.com/jdx/mise-action/compare/v5.3.0...v5.4.0>
### [`v5.3.0`](https://github.com/jdx/mise-action/releases/tag/v5.3.0): : New mise_env input exports MISE_ENV to later steps
[Compare Source](https://github.com/jdx/mise-action/compare/v5.2.10...v5.3.0)
A new `mise_env` input sets the [mise environment](https://mise.jdx.dev/configuration/environments.html) for the action and exports `MISE_ENV` to every later step in the job. `mise run` and `mise x` in later steps now load the same `mise.<env>.toml` configs that the action installed and cached.
#### Added
- **`mise_env` input.** Before this change, setting `MISE_ENV` in the action step's `env:` only applied inside the action. Later steps never saw it and quietly fell back to the base config. Job-level `env:` worked, but composite actions that pick the environment from their own inputs had to write `MISE_ENV` to `GITHUB_ENV` themselves, and security linters such as zizmor flag that. The new input handles the export for you:
```yaml
- uses: jdx/mise-action@v5
with:
mise_env: ci # loads mise.ci.toml on top of mise.toml
- run: mise run test # also runs with MISE_ENV=ci
```
In a composite action:
```yaml
runs:
using: composite
steps:
- uses: jdx/mise-action@v5
with:
mise_env: ${{ inputs.haskell == 'true' && 'ci' || 'ci-no-haskell' }}
```
The input accepts one or more environments, such as `ci` or `ci,linux`. The action exports it before computing the cache key, so `{{mise_env}}` in a custom `cache_key`, `mise install`, and later steps all use the same value. If `MISE_ENV` is already set, the input takes priority, the same way `mise_dir` takes priority over `MISE_DATA_DIR`. If you leave the input unset, nothing changes, and a step-level `MISE_ENV` still isn't exported. ([#​745](https://github.com/jdx/mise-action/pull/745) by [@​jdx](https://github.com/jdx) with [@​veimox](https://github.com/veimox) and [@​cprecioso](https://github.com/cprecioso), closes [#​447](https://github.com/jdx/mise-action/issues/447))
**Full Changelog**: <https://github.com/jdx/mise-action/compare/v5.2.10...v5.3.0>
### [`v5.2.10`](https://github.com/jdx/mise-action/releases/tag/v5.2.10): : Fix mise download on Windows when MSYS curl is first on PATH
[Compare Source](https://github.com/jdx/mise-action/compare/v5.2.9...v5.2.10)
On Windows, the action can now download mise when an MSYS `curl.exe` (for example the Rtools one added by `r-lib/actions/setup-r`) comes first on `PATH`. Before this fix, the download failed every time while fetching the packslip bundle.
#### Fixed
- **mise downloads no longer fail on Windows with MSYS curl.** `r-lib/actions/setup-r` puts the Rtools `curl.exe` first on `PATH`. When mise-action ran after it, the mise zip downloaded, but every attempt to fetch `packslip.sigstore.json` failed with `Error: Could not download …/packslip.sigstore.json:`. The job stopped after five retries.
The cause was a literal newline in curl's `--write-out` argument. MSYS curl splits that newline, so the action couldn't read the HTTP status from the response. curl now always writes the response body to a file, and `--write-out` contains no newline. wget downloads are unchanged. If you ran mise-action before `setup-r` to work around this, you can now run them in either order. ([#​744](https://github.com/jdx/mise-action/pull/744) by [@​jdx](https://github.com/jdx), fixes [#​743](https://github.com/jdx/mise-action/issues/743) reported by [@​eitsupi](https://github.com/eitsupi))
**Full Changelog**: <https://github.com/jdx/mise-action/compare/v5.2.9...v5.2.10>
### [`v5.2.9`](https://github.com/jdx/mise-action/releases/tag/v5.2.9): : Maintenance release
[Compare Source](https://github.com/jdx/mise-action/compare/v5.2.8...v5.2.9)
This release has no user-facing changes. It updates dependencies and the project's CI.
**Full Changelog**: <https://github.com/jdx/mise-action/compare/v5.2.8...v5.2.9>
</details>
---
### Configuration
📅 **Schedule**: (UTC)
- Branch creation
- At any time (no schedule defined)
- Automerge
- At any time (no schedule defined)
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yNTEuMCIsInVwZGF0ZWRJblZlciI6IjQ1LjYuNCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->
renovate-bot
changed title from chore(deps): update https://github.com/jdx/mise-action action to v5.2.9 to chore(deps): update https://github.com/jdx/mise-action action to v5.2.102026-11-22 02:16:57 +01:00
renovate-bot
changed title from chore(deps): update https://github.com/jdx/mise-action action to v5.2.10 to chore(deps): update https://github.com/jdx/mise-action action to v5.3.02026-11-25 02:17:37 +01:00
renovate-bot
changed title from chore(deps): update https://github.com/jdx/mise-action action to v5.3.0 to chore(deps): update https://github.com/jdx/mise-action action to v5.4.02026-12-02 02:16:42 +01:00
All checks were successful
renovate/stability-days Updates have met minimum release age requirement
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This PR contains the following updates:
v5.2.8→v5.4.0v5.5.0Release Notes
jdx/mise-action (https://github.com/jdx/mise-action)
v5.4.0: : Faster Windows hosted runners with mise data on the workspace driveCompare Source
On GitHub-hosted Windows runners, mise's data directory now defaults to the workspace drive (usually
D:\mise), which makes cache restores and tool installs much faster. This release also makes sure the action and later steps always run themisebinary it verified.Changed
mise data lives on the workspace drive on GitHub-hosted Windows runners. On these runners the workspace is on
D:, but%LOCALAPPDATA%is onC:, and writes toC:are several times slower. The action now setsMISE_DATA_DIRtoD:\miseand exports it before restoring the cache, so the cache, mise, the shims, and later steps all use the same directory. Onwindows-latest(Go, TinyGo, wasm-tools, wasmtime, binaryen), cache restore dropped from 40–49 s to 10–11 s, and a cold install withcache: falsedropped from 47.4 s to 18.6 s.The new default applies only when
RUNNER_ENVIRONMENT=github-hosted, the OS is Windows, and the workspace isn't on%SYSTEMDRIVE%. Self-hosted runners keep%LOCALAPPDATA%\mise. Settingmise_dir,MISE_DATA_DIR, orXDG_DATA_HOMEstill overrides it. (#756 by @jdx, based on a patch by @kjanat in #752)Fixed
<mise_dir>/bin/miseagainstsha256or the signed checksums, but then calledmiseby name. Because the shims directory came before the bin directory onPATH, amisein the shims directory could run instead of the verified binary, both inside the action and in laterrun: mise …steps. The action now calls the verified binary by its absolute path and puts the bin directory ahead of the shims directory onPATH. (#753 by @jdx)Upgrading
These steps apply only to GitHub-hosted Windows runners:
Existing Windows caches miss once because the cached path has changed.
If your workflow hardcodes
%LOCALAPPDATA%\misepaths, such asMISE_RUSTUP_HOMEorMISE_CARGO_HOME, or uses a customactions/cachepath, change them toD:\mise\.... To keep the old location, setmise_dir:Full Changelog: https://github.com/jdx/mise-action/compare/v5.3.0...v5.4.0
v5.3.0: : New mise_env input exports MISE_ENV to later stepsCompare Source
A new
mise_envinput sets the mise environment for the action and exportsMISE_ENVto every later step in the job.mise runandmise xin later steps now load the samemise.<env>.tomlconfigs that the action installed and cached.Added
mise_envinput. Before this change, settingMISE_ENVin the action step'senv:only applied inside the action. Later steps never saw it and quietly fell back to the base config. Job-levelenv:worked, but composite actions that pick the environment from their own inputs had to writeMISE_ENVtoGITHUB_ENVthemselves, and security linters such as zizmor flag that. The new input handles the export for you:In a composite action:
The input accepts one or more environments, such as
ciorci,linux. The action exports it before computing the cache key, so{{mise_env}}in a customcache_key,mise install, and later steps all use the same value. IfMISE_ENVis already set, the input takes priority, the same waymise_dirtakes priority overMISE_DATA_DIR. If you leave the input unset, nothing changes, and a step-levelMISE_ENVstill isn't exported. (#745 by @jdx with @veimox and @cprecioso, closes #447)Full Changelog: https://github.com/jdx/mise-action/compare/v5.2.10...v5.3.0
v5.2.10: : Fix mise download on Windows when MSYS curl is first on PATHCompare Source
On Windows, the action can now download mise when an MSYS
curl.exe(for example the Rtools one added byr-lib/actions/setup-r) comes first onPATH. Before this fix, the download failed every time while fetching the packslip bundle.Fixed
mise downloads no longer fail on Windows with MSYS curl.
r-lib/actions/setup-rputs the Rtoolscurl.exefirst onPATH. When mise-action ran after it, the mise zip downloaded, but every attempt to fetchpackslip.sigstore.jsonfailed withError: Could not download …/packslip.sigstore.json:. The job stopped after five retries.The cause was a literal newline in curl's
--write-outargument. MSYS curl splits that newline, so the action couldn't read the HTTP status from the response. curl now always writes the response body to a file, and--write-outcontains no newline. wget downloads are unchanged. If you ran mise-action beforesetup-rto work around this, you can now run them in either order. (#744 by @jdx, fixes #743 reported by @eitsupi)Full Changelog: https://github.com/jdx/mise-action/compare/v5.2.9...v5.2.10
v5.2.9: : Maintenance releaseCompare Source
This release has no user-facing changes. It updates dependencies and the project's CI.
Full Changelog: https://github.com/jdx/mise-action/compare/v5.2.8...v5.2.9
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate CLI.
8c8aa17056toec21676b66chore(deps): update https://github.com/jdx/mise-action action to v5.2.9to chore(deps): update https://github.com/jdx/mise-action action to v5.2.10ec21676b66to4ef33463acchore(deps): update https://github.com/jdx/mise-action action to v5.2.10to chore(deps): update https://github.com/jdx/mise-action action to v5.3.04ef33463acto846b37c301chore(deps): update https://github.com/jdx/mise-action action to v5.3.0to chore(deps): update https://github.com/jdx/mise-action action to v5.4.0View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.