Skip to content

Commit e2dd870

Browse files
committed
Add .NET 8 SDK, keep .NET 6 SDK for runtime purposes. When this is merged actions/setup-dotnet#476 we can use a switch
Signed-off-by: Aliaksandr Kukrash <[email protected]>
1 parent 08abc41 commit e2dd870

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/build.yml

+7-5
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,14 @@ jobs:
3333
with:
3434
lfs: true
3535
fetch-depth: 0
36-
- name: "Install .NET SDK"
37-
uses: actions/setup-dotnet@v3.2.0
36+
- name: "Install .NET 6.0 SDK"
37+
uses: actions/setup-dotnet@v4.2.0
3838
with:
39-
dotnet-version: |
40-
6.0.x
41-
global-json-file: "./global.json"
39+
dotnet-version: 6.0.x
40+
- name: "Install .NET 8.0 SDK"
41+
uses: actions/[email protected]
42+
with:
43+
dotnet-version: 8.0.x
4244
- name: "Dotnet Tool Restore"
4345
run: dotnet tool restore
4446
shell: pwsh

0 commit comments

Comments
 (0)