Skip to content

Releases: Vampire/setup-wsl

v7.0.0

11 Apr 18:00
Immutable release. Only release title and notes can be modified.
v7.0.0

Choose a tag to compare

Breaking Changes

  • Updated Node.js to 24 (#83)
  • Changed default distributon to Debian-13
  • Changed Alpine-3.17 wslId to contain the version
  • Changed Ubuntu-20.04 wslId to contain the version
  • Changed Ubuntu-22.04 wslId to contain the version
  • Removed deprecated Debian distributon
  • Removed deprecated Alpine distributon

Details

  • Use Debian-11 instead of Debian in tests [953e6c3]
  • Increase version to 7.0.0 [efe0179]
  • Update Node.js to 24 (#83) [04ef237]
  • Change default distributon to Debian-13 [b67c897]
  • Remove deprecated Debian [ab5ed27]
  • Remove deprecated Alpine [0dc99a1]
  • Change Alpine-3.17 wslId to contain the version [4e9c3b1]
  • Use wsl-file distribution for Ubuntu 20.04+ [9928f17]
  • Change Ubuntu-20.04 and Ubuntu-22.04 wslIds to contain the version [f9577ca]
  • Continue tests for specific wrapper script on installation failure [cf87199]

v6.1.0

10 Apr 22:46
Immutable release. Only release title and notes can be modified.
v6.1.0

Choose a tag to compare

Highlights

  • Alpine (3.17) support fixed (#82)
  • Debian (11) support fixed (#76)
  • Alpine 3.18 - 3.23 support added
  • Debian 12 - 13 support added

Deprecations

  • Using Alpine is deprecated, Alpine-3.17 is almost a drop-in replacement
  • Using Debian explicitly or as default is deprecated, Debian-11 is almost a drop-in replacement

Details

  • Fix verify-release workflow generation [6819906]
  • Disable testing on Alpine for the time being [1462529]
  • Fix apt update on Debian (#76) [6eb7639]
  • Update snakeyaml to 2.6 [90a7832]
  • Update release Gradle plugin to 3.1.0 [44828e1]
  • Update versions Gradle plugin to 0.51.0 [168ff3d]
  • Update Wooga GitHub Gradle plugin to 4.0.0 [47d527f]
  • Update Grgit to 5.3.3 [6391a34]
  • Update Gradle to 8.14.4 [6f851d3]
  • Get version update notifications for refresh versions plugin [01972ad]
  • Update refreshVersions Gradle plugin to 0.60.6 [b00071d]
  • Update github-api to 1.330 [b38a1f9]
  • Update Dependency Analysis Gradle plugin to 3.1.0 [25def4e]
  • Update Gradle to 9.4.1 [0f597b6]
  • Allow newer wrapper versions in validateGradleWrapperJar [0e1d30d]
  • Update versions Gradle plugin to 0.53.0 [8632db7]
  • Update Dependency Analysis Gradle plugin to 3.6.1 [df43e2e]
  • Update kotlinx-serialization to 1.10.0 [0261a4f]
  • Update Kotlin for workflow preprocessing to 2.3.20 [685f117]
  • Increase daemon max heap [f103acb]
  • Update Kotlin to 2.3.20 [7bab382]
  • Remove obsolete ktor work-around [857582f]
  • Update ktor to 3.4.2 [b0a9492]
  • Remove obsolete IDE helper comments [14f968f]
  • Update github-workflows-kt to 3.7.0 [2a205c6]
  • Update actions/checkout to v6 [9e3e4a6]
  • Update gradle/actions to v6 [0507b3e]
  • Update actions/cache to v5 [f96ebd2]
  • Update actions/setup-java to v5 [e491558]
  • Update kotlin wrappers to 2026.4.5 [24fd3b7]
  • Increase version to 6.1.0 [648c2a1]
  • Deprecate Debian and add Debian-11 as almost drop-in replacement [9c2948a]
  • Replace dynamic Microsoft store download by wsl --import (#82) [d5fc1c9]
  • Deprecate Alpine and add Alpine-3.17 as almost drop-in replacement [9d61a27]
  • Add support for Alpine 3.18 - 3.23 [d859bad]
  • Improve test conditions when overwriting wsl.conf file [818d233]
  • Add support for Debian 12 using wsl --install --from-file [a0d3bcd]
  • Add support for Debian 13 [e8092cd]
  • Add a readme that explains the workflow files handling [7d4bd70]
  • Update common-custom-user-data-gradle-plugin to 2.6.0 [ade4ee0]
  • Update kotlinx-serialization to 1.11.0 [02217b0]

v6.0.0

03 Jul 07:55
v6.0.0

Choose a tag to compare

Highlights

Update of Debian distribution if configured is now retried up to 4 times, as the package servers became less stable.

Breaking Changes

The action now always uses WSLv2 as the default WSL
version. Before it used WSLv1 if only that was available
whcih mainly was for the decommissioned windows-2019 runner images.

Details

  • Make Gradle Wrapper scripts executable [af172e2]
  • Remove tests on windows-2019 which was decommissioned [cbf3871]
  • Increase version to 6.0.0 [c0fd238]
  • Always use WSLv2 as default WSL version [e840292]
  • Install zstd before restoring cache on windows-11-arm to get same cache version [b87f2eb]
  • Run WSL update only on windows-2022, not windows-11-arm [c498099]
  • Retry up to 4 times to update Debian packages (#75) [442f98c]

v5.0.1

05 May 08:33
v5.0.1

Choose a tag to compare

Highlights

The caching works now with the new GitHub caching backend (#73)

Details

  • Fix verify-release workflow [8c6848e]
  • Automatically create new major branch when necessary [781adb1]
  • Use version ranges for actions to not use stale cache entries [8f70e6e]
  • Improve workflow script editability [4134197]
  • Update Gradle Wrapper validation action to v4 [3df3aea]
  • Replace gradle-cache-action by setup-gradle action [c620312]
  • Update Gradle enterprise plugin to Gradle Develocity plugin 4.0.1 [3e8d4e5]
  • Do not publish build scans on every execution and with ToU agreed for everyone [a909bca]
  • Add some common custom data to build scans [a35c728]
  • Properly close the ktor-client after use [371ac23]
  • Update kotlin wrappers to pre.839 [5ae6b25]
  • Update @action/cache to 4.0.3 (#73) [e68cca3]
  • Update Kotlin version for workflow preprocessing to 2.1.20 [ae34e10]
  • Remove build work-around for older KGP versions [1b2cda9]
  • Submit the Dependency Graph to GitHub [c7ed15c]
  • Make the preprocessing tasks for workflow files cacheable [91860f3]
  • Update Kotlin to 2.1.20 [8162803]
  • Update kotlinx-coroutines to 1.10.2 [bacdfd8]
  • Treat all Kotlin compiler warnings as errors [b4cc8de]
  • Update ktor to 3.1.2 [a151f43]
  • Update kotlin wrappers to 2025.5.2 [02d3dfe]

v5.0.0

27 Feb 01:19
v5.0.0

Choose a tag to compare

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.

Details

  • Increase version to 5.0.0 [a87a88e]
  • Only do WSL update command on windows-2022 runner image hosted by GitHub [f4cd646]

v4.1.1

24 Feb 03:39
v4.1.1

Choose a tag to compare

Highlights

  • Adapted to changed kali-linux distribution ID
  • Properly work around EACCES permission errors

Details

  • Update copyright dates [560a7ce]
  • Add a workflow that verifies all workflow YAMLs for consistency [e5226c2]
  • Add a workflow that verifies a freshly released version for basic functioning [37c005c]
  • Use latest action API in test workflow [233ed8b]
  • Fix step name in GHA workflow [f6fe12c]
  • Update github-workflows-kt to 3.2.0 [a6b8abb]
  • Fix logging on more than 5 retries [c389573]
  • Make workflow generation via Gradle able to run in parallel [a408856]
  • Cancel old workflow runs for the same PR or ref [ad61c67]
  • Adapt to changed kali-linux distribution ID [0b318e1]
  • Update typesafegithub/github-actions-typing to v2 [ee2e262]
  • Let Kotlin/JS inject main function arguments [eb74a66]
  • Ignore .kotlin directory [00f1a06]
  • Work around actions/toolkit#1925 better and more completely [75ccefa]

v4.1.0

03 Jan 12:04
v4.1.0

Choose a tag to compare

Highlights

  • Support for windows-2025 runner images

Details

  • Correct README ToC and default value formatting [ed92ae3]
  • Use permanent short-link again for Ubuntu 16.04 [3d42bb0]
  • Retry WSLv2 update up to 10 times due to unreliable download server (#66) [10b7b9a]
  • Increase version to 4.1.0 [b2fcdb9]
  • Add support for windows-2025 runner images (#65) [c82592e]

v4.0.0

04 Dec 13:47
v4.0.0

Choose a tag to compare

Highlights

The action can now also use WSLv2 (or any newer version potentially)

Breaking Changes

Where supported the action now defaults to WSLv2.
If you want to continue using WSLv1 where WSLv2 is supported,
then use the new wsl-version input to configure this.

Details

v3.1.4

03 Dec 13:33
v3.1.4

Choose a tag to compare

Highlights

  • Replace non-working download link for Ubuntu 16.04

Details

  • Update Kotlin to 2.0.20 [7e4d21a]
  • Properly share build outputs between projects [bf0d42a]
  • Update kotlin wrappers to pre.819, switch to ES modules, and use ktor as HTTP client [ae30506]
  • Use static download link for Ubuntu 16.04 [4368914]

v3.1.3

18 Oct 11:47
v3.1.3

Choose a tag to compare

Rebuild due to release error