The actions/setup-dotnet@v3 workflow has a few ways of specifying the dotnet version to use for CI. We currently use the dotnet-version input to specify a concrete version. However by default, without anything specified, it will use the SDK version from the global.json in the root of the repo.
you can use the global-json-file input for specifying the path to the global.json but the one added in this PR is in the root so not necessary
The actions/setup-dotnet@v3 workflow has a few ways of specifying the dotnet version to use for CI. We currently use the
dotnet-version
input to specify a concrete version. However by default, without anything specified, it will use the SDK version from theglobal.json
in the root of the repo.