diff --git a/README.md b/README.md index b7f3c5b..2024b72 100644 --- a/README.md +++ b/README.md @@ -317,8 +317,8 @@ build: You can also set `DOTNET_INSTALL_DIR` to a value based on runtime variables, such as `$HOME/.dotnet` or `${{ runner.temp }}/.dotnet` before the `setup-dotnet` step: ```yml - - name: Set DOTNET_INSTALL_DIR - run: echo "DOTNET_INSTALL_DIR=$HOME/.dotnet" >> $GITHUB_ENV + - name: Set DOTNET_INSTALL_DIR + run: echo "DOTNET_INSTALL_DIR=$HOME/.dotnet" >> $GITHUB_ENV ``` > **Note**: On some self-hosted or large Linux runners, installing .NET under the default `/usr/share/dotnet` location may fail due to insufficient permissions. To ensure successful installation, set `DOTNET_INSTALL_DIR` to a user-writable path.