Github Action for setting up WSLv1 (on Windows)

I’d like to test building Perl on WSLv1 (to reproduce the build error https_//

Is there an container or an action to set up Ubuntu 18.04 on WSLv1 on Windows?

(a Google search found only this on Marketplace, but unsure if it’s WSLv1 or WSLv2)

Does windows-2019 virtual environment have WSLv1 enabled?

Testing builds on WSLv1 can still be important in the post-WSLv2 world.

Thank you!

According to’s author in, only WSLv1 is supported in that action and in windows-2019 virt. env.