Skip to content

Enable DOTNET_INSTALL_DIR environment variable

Compare
Choose a tag to compare
@dmitry-shibanov dmitry-shibanov released this 04 Oct 08:53
· 164 commits to main since this release
45c9f23

In scope of this release the DOTNET_INSTALL_DIR environment variable was enabled to add the ability to change the installation directory for .NET SDK #329. The DOTNET_INSTALL_DIR can be helpful when access to the default installation directory, for instance, on self-hosted runners, is denied.

Example of usage:

build:
  runs-on: self-hosted
  env:
    DOTNET_INSTALL_DIR: "path/to/directory"
  steps:
    - uses: actions/setup-dotnet@v3
      with:
        dotnet-version: '3.1.x'