Skip to content
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

Use GitHub preinstalled MSYS2 #430

Open
pmqs opened this issue Oct 1, 2024 · 4 comments
Open

Use GitHub preinstalled MSYS2 #430

pmqs opened this issue Oct 1, 2024 · 4 comments

Comments

@pmqs
Copy link

pmqs commented Oct 1, 2024

I see that the GitHub Windows runner has preinstalled MSYS2 into C:\msys64. See https://github.com/actions/runner-images/blob/main/images/windows/Windows2022-Readme.md

Is there any way to get this action to optionally use the preinstalled MSYS2 instance?

@rollerozxa
Copy link

Putting release: false in the action options should make it reuse the preinstalled MSYS2 instance: https://github.com/msys2/setup-msys2?tab=readme-ov-file#release

@pmqs
Copy link
Author

pmqs commented Oct 1, 2024

Thanks @rollerozxa that worked fine.

Thought that would help with the runtime cost of firing up MSYS2, but is didn't make any noticeable difference.

@Biswa96
Copy link
Member

Biswa96 commented Oct 1, 2024

Is there any way to get this action to optionally use the preinstalled MSYS2 instance?

Have you tried adding C:\msys64 in PATH without "using" setup-msys2?

@pmqs
Copy link
Author

pmqs commented Oct 1, 2024

Is there any way to get this action to optionally use the preinstalled MSYS2 instance?

Have you tried adding C:\msys64 in PATH without "using" setup-msys2?

Thanks - the release: false did the trick. Means I can keep the shell helper

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants