Skip to content

Commit e217e0a

Browse files
author
IvanZosimov
committed
Update documentation
1 parent d9a34fb commit e217e0a

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -195,11 +195,18 @@ Some environment variables may be necessary for your particular case or to impro
195195

196196
| **Env.variable** | **Description** | **Default value** |
197197
| ----------- | ----------- | ----------- |
198-
| DOTNET_INSTALL_DIR |Specifies a directory where .NET SDKs should be installed by the action|*isn't set*|
198+
| DOTNET_INSTALL_DIR |Specifies a directory where .NET SDKs should be installed by the action.|*default value for each OS* |
199199
| DOTNET_NOLOGO |Removes logo and telemetry message from first run of dotnet cli|*false*|
200200
| DOTNET_CLI_TELEMETRY_OPTOUT |Opt-out of telemetry being sent to Microsoft|*false*|
201201
| DOTNET_MULTILEVEL_LOOKUP |Configures whether the global install location is used as a fall-back|*true*|
202202

203+
The default value of the `DOTNET_INSTALL_DIR` environment variable depends on the operation system which is used on a runner:
204+
| **Operation system** | **Default value** |
205+
| ----------- | ----------- |
206+
| **Windows** | `C:\Program Files\dotnet` |
207+
| **Ubuntu** | `/usr/share/dotnet` |
208+
| **macOS** | `/Users/runner/.dotnet` |
209+
203210
**Example usage**:
204211
```yml
205212
build:

0 commit comments

Comments
 (0)