fast-actions/Setup .NET Fast

Download .NET SDK and Runtime with optimized performance

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
sdk-version.NET SDK version(s) to install. Supports single version, comma-separated (10.x, 10.x.x, 9.0.0), or YAML array. Use keywords: "latest" (newest), "lts" (Long-Term Support), "sts" (Standard Term Support). Wildcards can be two-part (10.x = 10.x.x) or three-part (10.x.x). Preview versions are supported (e.g., 9.0.100-preview.7). Takes precedence over global.json.no
runtime-version.NET Runtime version(s) to install. Supports single version, comma-separated (8.0.0, 7.x, 7.x.x), or YAML array. Wildcards can be two-part (7.x = 7.x.x) or three-part (7.x.x). Use keywords: "latest", "lts", "sts". Preview versions are supported (e.g., 9.0.0-preview.7).no
aspnetcore-versionASP.NET Core Runtime version(s) to install. Supports single version, comma-separated (8.0.0, 7.x, 7.x.x), or YAML array. Wildcards can be two-part (7.x = 7.x.x) or three-part (7.x.x). Use keywords: "latest", "lts", "sts". Preview versions are supported (e.g., 9.0.0-preview.7).no
global-jsonPath to global.json file for SDK version resolution. Defaults to ./global.json in workspace root. Only affects SDK installations.no""
cacheEnable unified caching of .NET installations. Speeds up subsequent runs when the same versions are requested. Set to false to disable.notrue
allow-previewAllow preview releases when using keywords (latest, lts, sts). When true, preview releases (support-phase: preview) will be included. When false (default), only stable releases are considered.nofalse
namedescription
dotnet-versionThe installed .NET version
dotnet-pathPath to the installed .NET directory
cache-hitWhether all requested versions were restored from the unified cache (true) or any were downloaded (false)