What's Changed
In scope of this minor release, the ability to cache the NuGet global-packages
folder was added in #303 by @nogic1008
For caching, the action uses the @toolkit/cache library under the hood, which in turn allows getting rid of configuring the @actions/cache action separately.
Such input parameters as cache
and cache-dependency-path
were added. The cache
input is optional, and caching is turned off by default, cache-dependency-path
is used to specify the path to a dependency file - packages.lock.json
.
Example of use-case:
- uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.x
cache: true
cache-dependency-path: subdir/packages.lock.json
More details can be found in the action's documentation.
Full Changelog: v3...v3.2.0