Skip to content

Commit d10da0e

Browse files
committed
Address PR review: fix README pack metadata, doc hierarchy, and snupkg push
- Change None Include to None Update for README.md in both SDK csproj files to avoid NETSDK1022 duplicate item errors in SDK-style projects - Demote '.NET SDK Packages' to h3 subsection under '.NET SDK Quickstart' so the Quickstart heading is not left empty - Add snupkg push step to publish workflow so symbol packages reach NuGet.org alongside the main nupkg files
1 parent 0a5e956 commit d10da0e

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

.github/workflows/publish-sdk-packages.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,7 @@ jobs:
4242
--api-key "$NUGET_API_KEY" \
4343
--source "https://api.nuget.org/v3/index.json" \
4444
--skip-duplicate
45+
dotnet nuget push artifacts/nuget/*.snupkg \
46+
--api-key "$NUGET_API_KEY" \
47+
--source "https://api.nuget.org/v3/index.json" \
48+
--skip-duplicate

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ All APIs are scoped by route:
103103

104104
## .NET SDK Quickstart
105105

106-
## .NET SDK Packages
106+
### .NET SDK Packages
107107

108108
- `MemNet.Client`: https://www.nuget.org/packages/MemNet.Client
109109
- `MemNet.AgentMemory`: https://www.nuget.org/packages/MemNet.AgentMemory

src/MemNet.AgentMemory/MemNet.AgentMemory.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
</PropertyGroup>
2222

2323
<ItemGroup>
24-
<None Include="README.md" Pack="true" PackagePath="/" />
24+
<None Update="README.md" Pack="true" PackagePath="/" />
2525
</ItemGroup>
2626

2727
<ItemGroup>

src/MemNet.Client/MemNet.Client.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
</PropertyGroup>
1818

1919
<ItemGroup>
20-
<None Include="README.md" Pack="true" PackagePath="/" />
20+
<None Update="README.md" Pack="true" PackagePath="/" />
2121
</ItemGroup>
2222

2323
<ItemGroup>

0 commit comments

Comments
 (0)