setup-msys2
setup-msys2 copied to clipboard
$PATH not icluded
win10 not included User $PATH. System $PATH OK win7 not included User $PATH and System $PATH
Same here. All the tools that are available via PATH variable in the stock github windows machines stopped working.
Please explain the issue. How to reproduce it? What errors did you see? etc.
test:
name: test
runs-on: windows-latest
defaults:
run:
shell: msys2 {0}
steps:
- uses: msys2/setup-msys2@v2
- run: cabal --version
cabal
is pre-installed on all windows runners. It doesn't work in msys2 shell.
https://github.com/actions/runner-images/blob/34c4d37ff01c2cb50899a65250530c2321c1226c/images/win/scripts/Installers/Install-Haskell.ps1#L40
https://github.com/Maximus5/ConEmu/issues/1185#issuecomment-396570420
In GitHub Actions, that will be
- uses: msys2/setup-msys2@v2
with:
path-type: inherit