Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to .NET 8 #186

Merged
merged 1 commit into from
May 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.x
dotnet-version: 8.0.x
- name: Install dependencies
run: "dotnet restore"
- name: Build
Expand Down Expand Up @@ -66,6 +66,6 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.x
dotnet-version: 8.0.x
- name: Push to NuGet Feed
run: dotnet nuget push './artifacts/*.nupkg' --skip-duplicate --source "$NUGET_FEED" --api-key "$NUGET_KEY"
4 changes: 2 additions & 2 deletions BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ JanusGraph.Net uses dotnet build for convenient builds across platforms.

## Requirements

* [.NET 6.0 SDK (version >= 2.1.400)][dotnet-sdk] is needed to build and test the project.
* [.NET 8.0 SDK][dotnet-sdk] is needed to build and test the project.
* [Docker][docker] needs to be running in order to execute the integration tests as they automatically start a
JanusGraph Docker container.

Expand Down Expand Up @@ -43,6 +43,6 @@ successfully.
The version number used for the tag should correspond to the version in the
`.csproj` file as that version is used for the NuGet package.

[dotnet-sdk]: https://dotnet.microsoft.com/en-us/download/dotnet/6.0
[dotnet-sdk]: https://dotnet.microsoft.com/en-us/download/dotnet
[docker]: https://www.docker.com/
[git-tag]: https://git-scm.com/book/en/v2/Git-Basics-Tagging
2 changes: 1 addition & 1 deletion src/JanusGraph.Net/JanusGraph.Net.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<IncludeSource>True</IncludeSource>
<IncludeSymbols>True</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<LangVersion>9</LangVersion>
<LangVersion>12</LangVersion>
<Nullable>enable</Nullable>
<Version>1.0.0</Version>
<Title>JanusGraph.Net</Title>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>
<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>
<ItemGroup>
Expand Down