actions / setup-dotnet

Set up your GitHub Actions workflow with a specific version of the .NET core sdk
MIT License
922 stars 454 forks source link

Notify if `global.json` was not found in the root directory. #344

Closed teo-tsirpanis closed 1 year ago

teo-tsirpanis commented 1 year ago

Description: I was investigating a bug where my workflow was installing .NET through this action, with the version specified in global.json. The action finished immediately with no log messages and baffled me until I realized that I was cloning the repository on a subdirectory and had to specify where global.json is by myself.

This PR adds a message that might have helped me figure this out sooner.

Related issue: Add link to the related issue.

Check list:

IvanZosimov commented 1 year ago

May I also ask you to resolve 5 failing checks? If you wonder how to do this, there is the documentation for contributors.