haskell-actions / setup

Setting up GHC, cabal, stack on for Haskell-related CIs
MIT License
43 stars 12 forks source link

Use using existing ghcup/ghc/mingw installations on Windows #92

Open develop7 opened 1 month ago

develop7 commented 1 month ago

I've discovered Github Actions' Windows workers have ghcup & couple of latest GHCs preinstalled by https://github.com/actions/runner-images/blob/main/images/windows/scripts/build/Install-Haskell.ps1 and mingw preinstalled by https://github.com/actions/runner-images/blob/main/images/windows/scripts/build/Install-Mingw64.ps1

UPD: and Stack too, at https://github.com/actions/runner-images/blob/main/images/windows/scripts/build/Install-Stack.ps1

Is there a way this action could use them instead of installing them from scratch?