-
-
Notifications
You must be signed in to change notification settings - Fork 263
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
setup-ruby interferes with Windows runner's own MSYS2 install #57
Comments
See my response in actions/runner-images#905. Re changes here, there are quite a few repos running Windows CI, and having MSYS2 in the path is essentially expected. An input could be added to allow it not to be so, but I think the better fix is to remove 7z from the MSYS2 install... |
That specific case seems a bug of upstream: The linked code will actually do nothing now, right? Since C:\msys64 will exist (but it's likely not rolled out everywhere yet so we need the fallback). I guess the only thing to do is we shouldn't prepend |
I tried to make sure my assumptions regarding PATH are correct in https://github.com/ruby/setup-ruby/runs/695926638?check_suite_focus=true |
When there is no C:\msys64 in the image, the 7z from Chocolatey is used (both before and after this action): |
Agreed. |
JFYI, the comment below is incorrect. The code should be removed when Actions removes the embedded MSYS2 installs that currently exist in the four ToolCache Rubies. When that happens (only after MSYS2 install is rolled out), there will be nothing to symlink to.
|
setup-ruby/windows.js
Lines 121 to 124 in 002b15e
actions/runner-images#905 (comment)
I believe it is time to remove this bit of setup. If it is not, how can I opt out of setup-ruby including a bundled MSYS2?
The text was updated successfully, but these errors were encountered: