github actions/setup-dotnet v3.0.1
Enable DOTNET_INSTALL_DIR environment variable

latest releases: v5.2.0, v5, v5.1.0...
3 years ago

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'

Don't miss a new setup-dotnet release

NewReleases is sending notifications on new releases.