Closed Andrey-Shypko closed 1 month ago
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.
In GitHub Actions, that will be
- uses: msys2/setup-msys2@v2
with:
path-type: inherit
What Biswa wrote. It's also documented in the README: https://github.com/msys2/setup-msys2?tab=readme-ov-file#path-type
win10 not included User $PATH. System $PATH OK win7 not included User $PATH and System $PATH