Skip to content

Commit bf0f99a

Browse files
committed
upgrade to dotnet-sdk 6.0.300
1 parent 1bbe459 commit bf0f99a

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ jobs:
1515
ports:
1616
- 3000:3000
1717
steps:
18-
- uses: actions/checkout@v2
18+
- uses: actions/checkout@v3
1919
- name: Setup .NET Core SDK
20-
uses: actions/setup-dotnet@v1
20+
uses: actions/setup-dotnet@v2
2121
with:
22-
dotnet-version: '5.0.400'
22+
dotnet-version: '6.0.300'
2323
- name: Restore
2424
run: dotnet restore
2525
- name: Build
@@ -44,7 +44,7 @@ jobs:
4444
http://localhost:3000/api/v1/user/repos
4545
4646
# execute our application.
47-
./bin/Release/net5.0/UseLibgit2sharp
47+
./bin/Release/net6.0/UseLibgit2sharp
4848
4949
# list the local repository log.
5050
git --git-dir tmp/test/.git log --oneline

UseLibgit2sharp.csproj

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<OutputType>Exe</OutputType>
4-
<TargetFramework>net5.0</TargetFramework>
4+
<TargetFramework>net6.0</TargetFramework>
55
</PropertyGroup>
66
<ItemGroup>
77
<!--
@@ -11,7 +11,9 @@
1111
1212
See https://github.com/libgit2/libgit2sharp/issues/1747 # for working in ubuntu 20.04.
1313
See https://github.com/libgit2/libgit2sharp/pull/1905 # for libgit2 1.1.1.
14+
See https://github.com/libgit2/libgit2sharp/pull/1907 # for libgit2 1.2.0. # TODO this is not yet released in a nuget package.
15+
See
1416
-->
15-
<PackageReference Include="LibGit2Sharp" Version="0.27.0-preview-0119" />
17+
<PackageReference Include="LibGit2Sharp" Version="0.27.0-preview-0182" />
1618
</ItemGroup>
1719
</Project>

0 commit comments

Comments
 (0)