setup-wsl
setup-wsl copied to clipboard
Allow execution of additional setup steps / script
Quite often in order to prepare WSL on a machine we need more than installing additional-packages and allowing addition of an extra step, would greatly simplify maintenance of GHA that use WSL.
I am aware that we can run extra steps after, but these would need to be verbose as we would have to duplicate the same conditions for setting WSL (wsl being only one matrix testing scenario).
Maybe we need two commands:
-
pre-install-script- to run beforeadditional-packagesare installed, very useful for those that need to enable additional deb repos -
post-install-script- to run afteradditional-packagesare installed
WDYT?