Skip to content

Commit 04421f5

Browse files
committed
nuget
1 parent afcc70b commit 04421f5

File tree

4 files changed

+16
-13
lines changed

4 files changed

+16
-13
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ jobs:
3838
- name: Build
3939
run: dotnet build Orleans.Graph.slnx --configuration Release --no-restore
4040

41+
- name: Check code style
42+
run: dotnet format Orleans.Graph.slnx --verify-no-changes
43+
4144
- name: Test
4245
run: dotnet test Orleans.Graph.slnx --configuration Release --no-build --verbosity normal
4346

Directory.Build.props

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,12 @@
22

33
<!--C# version-->
44
<PropertyGroup>
5-
<TargetFramework>net8.0</TargetFramework>
6-
<LangVersion>12</LangVersion>
5+
<TargetFramework>net9.0</TargetFramework>
6+
<LangVersion>13</LangVersion>
7+
<EnableNETAnalyzers>true</EnableNETAnalyzers>
8+
<Nullable>enable</Nullable>
9+
<DebugType>embedded</DebugType>
10+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
711
</PropertyGroup>
812

913
<!--NuGet-->
@@ -16,7 +20,7 @@
1620
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
1721
<RepositoryType>Github</RepositoryType>
1822
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
19-
<!-- <PackageIcon>logo.png</PackageIcon>-->
23+
<PackageIcon>logo.png</PackageIcon>
2024
<PackageLicenseExpression>MIT</PackageLicenseExpression>
2125
<EnablePackageValidation>true</EnablePackageValidation>
2226
<PackageReadmeFile>README.md</PackageReadmeFile>
@@ -33,8 +37,12 @@
3337
</PropertyGroup>
3438

3539
<ItemGroup>
36-
<None Include="$(SolutionDir)\logo.png" Pack="true" Visible="false" PackagePath="\"/>
37-
<None Include="$(SolutionDir)\README.md" Pack="true" Visible="false" PackagePath="\"/>
40+
<None Include="..\logo.png" Pack="true" Visible="false" PackagePath="/">
41+
<Link>logo.png</Link>
42+
</None>
43+
<None Include="..\README.md" Pack="true" Visible="false" PackagePath="/">
44+
<Link>README.md</Link>
45+
</None>
3846
</ItemGroup>
3947

4048
<ItemGroup>

ManagedCode.Orleans.Graph.Tests/ManagedCode.Orleans.Graph.Tests.csproj

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net9.0</TargetFramework>
54
<ImplicitUsings>enable</ImplicitUsings>
6-
<Nullable>enable</Nullable>
7-
85
<IsPackable>false</IsPackable>
9-
10-
<LangVersion>13</LangVersion>
116
</PropertyGroup>
127

138
<ItemGroup>

ManagedCode.Orleans.Graph/ManagedCode.Orleans.Graph.csproj

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>net9.0</TargetFramework>
5-
<LangVersion>13</LangVersion>
64
<OutputType>Library</OutputType>
7-
<Nullable>enable</Nullable>
85
<IsPackable>true</IsPackable>
96
</PropertyGroup>
107

0 commit comments

Comments
 (0)