-
Notifications
You must be signed in to change notification settings - Fork 457
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
actions/setup-dotnet@v1 with dotnet-version fails very cryptically #54
Comments
what |
@ShubhamSureWash This action is for installing .NET Core. For the hosted runner you are using, 4.8 is installed on the agent. https://github.com/microsoft/azure-pipelines-image-generation/blob/releases/vs2019/20191202/images/win/Vs2019-Server2019-Readme.md#net-48 |
Any updates? 3.1.102 is out and this task fails to install it. |
Error logs now include the message: |
I had a github workflow action like below
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.0
You can try it, It kept failing cryptically with an error like
##[error]Node run failed with exit code 1
I could not figure out why it was failing, there was no info in the raw log either.
Finally after several trial and error, I figured it was related to version and I changed to version to 3.0.100 and it worked.
Please fix the error message to more actionable ones.
The text was updated successfully, but these errors were encountered: