-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
49 lines (38 loc) · 2.21 KB
/
action.yml
File metadata and controls
49 lines (38 loc) · 2.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: 'Setup .NET Fast'
description: 'Download .NET SDK and Runtime with optimized performance'
author: '@xC0dex'
branding:
icon: 'download'
color: 'purple'
inputs:
sdk-version:
description: '.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.'
required: false
runtime-version:
description: '.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).'
required: false
aspnetcore-version:
description: 'ASP.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).'
required: false
global-json:
description: 'Path to global.json file for SDK version resolution. Defaults to ./global.json in workspace root. Only affects SDK installations.'
required: false
default: ''
cache:
description: 'Enable unified caching of .NET installations. Speeds up subsequent runs when the same versions are requested. Set to false to disable.'
required: false
default: 'true'
allow-preview:
description: 'Allow 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.'
required: false
default: 'false'
outputs:
dotnet-version:
description: 'The installed .NET version'
dotnet-path:
description: 'Path to the installed .NET directory'
cache-hit:
description: 'Whether all requested versions were restored from the unified cache (true) or any were downloaded (false)'
runs:
using: 'node24'
main: 'dist/index.js'