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

Allow action to run on other platforms #115

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

MatteoH2O1999
Copy link

In order to allow simpler workflow writing this allows to run the action on all platforms.
This checks if msbuild is already in path (for github-hosted Ubuntu and MacOS runners it is).
If it is and the version matches with the one specified (always if "latest") the action simply terminates and does nothing, otherwise it fails as before.
Behavior on Windows is not changed.

On a side note, I fixed a couple of Typescript and Eslint errors

The action now check the path variable in other plaforms for msbuild and fail if it does not find it (or it is not of the correct version)
@MatteoH2O1999
Copy link
Author

@microsoft-github-policy-service agree

@timheuer timheuer added the enhancement New feature or request label May 22, 2023
@timheuer
Copy link
Member

Thanks @MatteoH2O1999 for the PR!

While msbuild responds on Ubuntu-hosted, it is actually not the MSBuild that is intended for this action (e.g., I believe that is still the Mono version). I'm going to hold on this one to discuss with some folks a bit as it might introduce some odd support aspects for us ;-). /cc @baronfel

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

Successfully merging this pull request may close these issues.

None yet

2 participants