未验证 提交 967bb6bd 编写于 作者: A Artur

use .net 6.0 SDK

上级 6189846c
......@@ -28,14 +28,18 @@ jobs:
uses: actions/checkout@v2.3.4
with:
fetch-depth: 0
- name: Setup .NET SDK
- name: Setup .NET Core 3.1 SDK
uses: actions/setup-dotnet@v1.8.1
with:
dotnet-version: 3.1.x
- name: Setup .NET 5.0 SDK
uses: actions/setup-dotnet@v1.8.1
with:
dotnet-version: 5.0.x
- name: Setup .NET Core 3.1 runtime
- name: Setup .NET 6.0 SDK
uses: actions/setup-dotnet@v1.8.1
with:
dotnet-version: 3.1.x
dotnet-version: 6.0.x
- name: Build
run: dotnet build LibGit2Sharp.sln --configuration Release
- name: Upload packages
......@@ -52,3 +56,5 @@ jobs:
run: dotnet test LibGit2Sharp.sln --configuration Release --no-restore --framework netcoreapp3.1 --logger "GitHubActions" /p:ExtraDefine=LEAKS_IDENTIFYING
- name: Run net5.0 tests
run: dotnet test LibGit2Sharp.sln --configuration Release --no-restore --framework net5.0 --logger "GitHubActions" /p:ExtraDefine=LEAKS_IDENTIFYING
- name: Run net6.0 tests
run: dotnet test LibGit2Sharp.sln --configuration Release --no-restore --framework net6.0 --logger "GitHubActions" /p:ExtraDefine=LEAKS_IDENTIFYING
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net472;netcoreapp3.1;net5.0</TargetFrameworks>
<TargetFrameworks>net472;netcoreapp3.1;net5.0;net6.0</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册