Highlights
WSL update command is now only done for GitHub-hosted windows-2022 runners
Breaking Changes
Before this release a WSL update command was always issued if WSLv2 was going to be used.
The windows-2025 image now has the necessary update already installed,
so currently only the GitHub-hosted windows-2022 runners need the call to get WSLv2 working.
But as there are still updates available for the windows-2025 runners it would potentially waste time unnecessarily.
So now the WSL update command is only done for WSLv2 on GItHub-hosted windows-2022 runners,
where it is known that the update is necessary currently to make it work at all.
This could break running on self-hosted runners if they do not have the necessary WSL update installed.
Because of that this is a breaking release.
In such a case a WSL update command can be manually issued before calling the action,
or much preferable is to install the WSL update in the runner image so that no time is wasted during the
workflow execution unnecessarily.