Skip to content

Commit 2d8db2f

Browse files
committed
Updated CI to support .NET 6
1 parent 3f7b9a7 commit 2d8db2f

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,6 @@ jobs:
4545
echo "BUILD_VERSION=$version" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf-8 -Append
4646
shell: pwsh
4747

48-
- name: Setup NuGet
49-
uses: NuGet/[email protected]
50-
51-
- name: Restore dependencies
52-
run: nuget restore $SOLUTION
53-
5448
- name: Setup .NET Core 3.1
5549
uses: actions/setup-dotnet@v1
5650
with:
@@ -61,6 +55,17 @@ jobs:
6155
with:
6256
dotnet-version: 5.0.x
6357

58+
- name: Setup .NET 6.0
59+
uses: actions/setup-dotnet@v1
60+
with:
61+
dotnet-version: 6.0.x
62+
63+
- name: Setup NuGet
64+
uses: NuGet/[email protected]
65+
66+
- name: Restore dependencies
67+
run: nuget restore $SOLUTION
68+
6469
- name: Setup MSBuild
6570
uses: microsoft/[email protected]
6671

0 commit comments

Comments
 (0)