Skip to content
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
1 change: 0 additions & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,6 @@ jobs:
- name: Create NuGet package
run: |
dotnet pack -c Release -o out src/Weaviate.Client.Managed/
dotnet pack -c Release -o out src/Weaviate.Client.Managed.Analyzers/

- name: Push package to NuGet
run: dotnet nuget push './out/*.nupkg' --skip-duplicate --api-key ${{ secrets.NUGET_APIKEY }} --source https://api.nuget.org/v3/index.json
Expand Down
15 changes: 15 additions & 0 deletions src/Weaviate.Client.Managed/Weaviate.Client.Managed.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,21 @@
<PackageReference Include="Weaviate.Client" Version="1.0.1" />
</ItemGroup>

<!-- Include Roslyn analyzers in the package -->
<ItemGroup>
<ProjectReference Include="..\Weaviate.Client.Managed.Analyzers\Weaviate.Client.Managed.Analyzers.csproj"
ReferenceOutputAssembly="false"
PrivateAssets="all" />
</ItemGroup>

<!-- Package the analyzer DLL -->
<ItemGroup>
<None Include="..\Weaviate.Client.Managed.Analyzers\bin\$(Configuration)\netstandard2.0\Weaviate.Client.Managed.Analyzers.dll"
Pack="true"
PackagePath="analyzers/dotnet/cs"
Visible="false" />
</ItemGroup>

<ItemGroup>
<None Include="README.md" Pack="true" PackagePath="\" />
<None Include="..\..\icon.png" Pack="true" PackagePath="\" Condition="Exists('..\..\icon.png')" />
Expand Down
Loading