-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MSYS2_PATH_TYPE default #41
Comments
It might, but it may not be desirable. Virtual environments provided by GitHub do include Git for Windows, which is added to the PATH by default. Incidentally, VSCode supports Git for Windows only, and they refuse to support MSYS2. I don't know whether a relation exists between both facts. The point is that the default environment contains potentially conflicting tools, such as FWIW, an option is provided: https://github.com/msys2/setup-msys2#path-type |
It only adds those things which are in PATH on a fresh Windows install. We should at least document the possible values and what they mean. I suspect various tools expect those directories to be in PATH, but I'm also not sure because I've never worked in such an environment. |
Add all the possible values and what they do. See #41
I picked your PR and modified it to change the default path-type to
As a matter of fact, option path-type was added because some user needed it when using another action to setup golang: numworks/setup-msys2#13. |
The default in MSYS2 is "minimal" aka MSYS2 directories + default Windows directories. setup-msys2 defaults to "strict" which might be unexpected (things like cmd.exe are not available).
I wonder if changing the default now would still be possible.
The text was updated successfully, but these errors were encountered: