From e217e0a6ac75c44e3d05444a6619d9135ba1fe0d Mon Sep 17 00:00:00 2001 From: IvanZosimov Date: Fri, 7 Oct 2022 12:06:14 +0200 Subject: [PATCH] Update documentation --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 382465b..cec68e9 100644 --- a/README.md +++ b/README.md @@ -195,11 +195,18 @@ Some environment variables may be necessary for your particular case or to impro | **Env.variable** | **Description** | **Default value** | | ----------- | ----------- | ----------- | -| DOTNET_INSTALL_DIR |Specifies a directory where .NET SDKs should be installed by the action|*isn't set*| +| DOTNET_INSTALL_DIR |Specifies a directory where .NET SDKs should be installed by the action.|*default value for each OS* | | DOTNET_NOLOGO |Removes logo and telemetry message from first run of dotnet cli|*false*| | DOTNET_CLI_TELEMETRY_OPTOUT |Opt-out of telemetry being sent to Microsoft|*false*| | DOTNET_MULTILEVEL_LOOKUP |Configures whether the global install location is used as a fall-back|*true*| +The default value of the `DOTNET_INSTALL_DIR` environment variable depends on the operation system which is used on a runner: +| **Operation system** | **Default value** | +| ----------- | ----------- | +| **Windows** | `C:\Program Files\dotnet` | +| **Ubuntu** | `/usr/share/dotnet` | +| **macOS** | `/Users/runner/.dotnet` | + **Example usage**: ```yml build: