Skip to content

Commit ed7b22d

Browse files
committed
Use global.json to specify .NET SDK version.
1 parent ff4d501 commit ed7b22d

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,8 @@ jobs:
1717
steps:
1818
- uses: actions/checkout@v4
1919

20-
- name: Set up .NET 6.0
20+
- name: Set up .NET
2121
uses: actions/setup-dotnet@v3
22-
with:
23-
dotnet-version: 6.0.x
2422

2523
- name: Restore
2624
run: dotnet restore

global.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"sdk": {
3+
"version": "6.0.400",
4+
"rollForward": "latestPatch"
5+
}
6+
}

0 commit comments

Comments
 (0)