dotnet-sdk: Set DOTNET_ROOT (#153)

This helps with e.g. making global tools work correctly; see [this blog post][1] for more details.

[1]: https://natemcmaster.com/blog/2018/05/12/dotnet-global-tools/#installing-the-net-core-cli-into-a-non-default-location
This commit is contained in:
Tomas Aschan 2019-06-19 10:03:52 +02:00 committed by Jakub Čábera
parent c7453c5a49
commit b6aa90398b

View File

@ -14,6 +14,9 @@
}
},
"bin": "dotnet.exe",
"env_set": {
"DOTNET_ROOT": "$dir"
},
"checkver": {
"url": "https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/releases-index.json",
"jsonpath": "$..releases-index[?(@.support-phase == 'current')].latest-sdk"