Skip to content

Commit 047f06d

Browse files
author
IvanZosimov
committed
Update README.md
1 parent 014f8c8 commit 047f06d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Diff for: README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ steps:
2727
dotnet-version: '3.1.x'
2828
- run: dotnet build <my project>
2929
```
30+
> **Warning**: ***Unless a concrete version is specified in the [`global.json`](https://learn.microsoft.com/en-us/dotnet/core/tools/global-json) file, the latest .NET version installed on the runner (including preinstalled versions) will be used [by default](https://learn.microsoft.com/en-us/dotnet/core/versions/selection#the-sdk-uses-the-latest-installed-version). Please refer to the [documentation](https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-software) for the currently preinstalled .NET SDK versions.***
3031

3132
**Multiple version installation**:
3233
```yml
@@ -40,8 +41,6 @@ steps:
4041
5.0.x
4142
- run: dotnet build <my project>
4243
```
43-
> **Note**: Unless a concrete version is specified in the [`global.json`](https://learn.microsoft.com/en-us/dotnet/core/tools/global-json) file, the latest .NET version installed on the runner (including preinstalled versions) will be used [by default](https://learn.microsoft.com/en-us/dotnet/core/versions/selection#the-sdk-uses-the-latest-installed-version). Please refer to the [documentation](https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-software) for the currently preinstalled .NET SDK versions.
44-
4544
## Supported version syntax
4645

4746
The `dotnet-version` input supports following syntax:

0 commit comments

Comments
 (0)