You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+24-23Lines changed: 24 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ See [action.yml](action.yml)
29
29
**Basic**:
30
30
```yaml
31
31
steps:
32
-
- uses: actions/checkout@v5
32
+
- uses: actions/checkout@v6
33
33
- uses: actions/setup-dotnet@v5
34
34
with:
35
35
dotnet-version: '8.0.x'
@@ -40,7 +40,7 @@ steps:
40
40
**Multiple version installation**:
41
41
```yml
42
42
steps:
43
-
- uses: actions/checkout@v5
43
+
- uses: actions/checkout@v6
44
44
- name: Setup dotnet
45
45
uses: actions/setup-dotnet@v5
46
46
with:
@@ -53,7 +53,7 @@ steps:
53
53
54
54
The `dotnet-version` input supports following syntax:
55
55
56
-
- **A.B.C** (e.g 6.0.400, 7.0.100-preview.7.22377.5) - installs exact version of .NET SDK
56
+
- **A.B.C** (e.g 9.0.308, 10.0.100-preview.1.25120.13) - installs exact version of .NET SDK
57
57
- **A.B** or **A.B.x** (e.g. 8.0, 8.0.x) - installs the latest patch version of .NET SDK on the channel `8.0`, including prerelease versions (preview, rc)
58
58
- **A** or **A.x** (e.g. 8, 8.x) - installs the latest minor version of the specified major tag, including prerelease versions (preview, rc)
59
59
- **A.B.Cxx** (e.g. 8.0.4xx) - available since `.NET 5.0` release. Installs the latest version of the specific SDK release, including prerelease versions (preview, rc).
@@ -66,7 +66,7 @@ This input sets up the action to install the latest build of the specified quali
66
66
67
67
```yml
68
68
steps:
69
-
- uses: actions/checkout@v5
69
+
- uses: actions/checkout@v6
70
70
- uses: actions/setup-dotnet@v5
71
71
with:
72
72
dotnet-version: '8.0.x'
@@ -81,7 +81,7 @@ steps:
81
81
82
82
```yml
83
83
steps:
84
-
- uses: actions/checkout@v5
84
+
- uses: actions/checkout@v6
85
85
- uses: actions/setup-dotnet@v5
86
86
with:
87
87
global-json-file: csharp/global.json
@@ -98,7 +98,7 @@ The action searches for [NuGet Lock files](https://learn.microsoft.com/nuget/con
>**Note**: When generating a temporary `global.json` within your workflow on Windows, ensure the command is executed using a shell such as PowerShell Core (`pwsh`) or `bash` (where supported) to avoid formatting inconsistencies that could cause .NET commands to fail.
191
192
## Setting up authentication for nuget feeds
192
193
193
194
### Github Package Registry (GPR)
194
195
```yml
195
196
steps:
196
-
- uses: actions/checkout@v5
197
+
- uses: actions/checkout@v6
197
198
- uses: actions/setup-dotnet@v5
198
199
with:
199
200
dotnet-version: '8.0.x'
@@ -246,8 +247,8 @@ In case of a single version installation, the `dotnet-version` output contains t
0 commit comments