Skip to content

Commit febe81c

Browse files
committed
Fixing the build/publish
1 parent c44bb01 commit febe81c

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
run: |
3838
dotnet pack src/FunctionalStateMachine.Core/FunctionalStateMachine.Core.csproj --configuration Release --no-build --output ./artifacts --include-symbols --include-source /p:PackageVersion=${VERSION}
3939
dotnet pack src/FunctionalStateMachine.CommandRunner/FunctionalStateMachine.CommandRunner.csproj --configuration Release --no-build --output ./artifacts --include-symbols --include-source /p:PackageVersion=${VERSION}
40-
dotnet pack src/FunctionalStateMachine.Diagrams/FunctionalStateMachine.Diagrams.csproj --configuration Release --no-build --output ./artifacts /p:PackageVersion=${VERSION}
40+
dotnet pack src/FunctionalStateMachine.Diagrams/FunctionalStateMachine.Diagrams.csproj --configuration Release --no-build --output ./artifacts /p:PackageVersion=${VERSION} /p:IncludeSymbols=false
4141
4242
- name: NuGet login (Trusted Publishing)
4343
uses: NuGet/login@v1

src/FunctionalStateMachine.Diagrams/FunctionalStateMachine.Diagrams.csproj

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,19 @@
1313
<Description>Roslyn analyzer that generates Mermaid state machine diagrams from FunctionalStateMachine configurations</Description>
1414
<PackageTags>$(PackageTags);roslyn;analyzer;mermaid;diagrams</PackageTags>
1515
<DevelopmentDependency>true</DevelopmentDependency>
16+
17+
<!-- Suppress warning about no lib/ref assemblies -->
18+
<NoWarn>$(NoWarn);NU5128</NoWarn>
1619
</PropertyGroup>
1720

1821
<ItemGroup>
1922
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.4" PrivateAssets="all"/>
2023
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.8.0" PrivateAssets="all"/>
2124
</ItemGroup>
2225

26+
<!-- Include the analyzer DLL in the package -->
2327
<ItemGroup>
24-
<None Include="$(TargetPath)" Pack="true" PackagePath="analyzers/dotnet/cs" />
28+
<None Include="$(OutputPath)\$(AssemblyName).dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
2529
</ItemGroup>
2630

2731
<ItemGroup>

0 commit comments

Comments
 (0)