From df9218882a29a401b6bb713c3f57ebf7bf22182a Mon Sep 17 00:00:00 2001 From: Doug Gerard Date: Mon, 13 Apr 2026 21:01:27 -0600 Subject: [PATCH] Fix CI pack step conflicting with BuildCodeFixes target Remove --no-build from pack step. The csproj has a BeforeTargets GenerateNuspec target that builds the CodeFixes project, which conflicts with the NoBuild property. Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/workflows/build-and-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-and-publish.yml b/.github/workflows/build-and-publish.yml index 41a57bc..151497b 100644 --- a/.github/workflows/build-and-publish.yml +++ b/.github/workflows/build-and-publish.yml @@ -41,7 +41,7 @@ jobs: run: dotnet test tests/CodeStructure.Analyzers.Tests/CodeStructure.Analyzers.Tests.csproj --configuration Release --no-build - name: Pack - run: dotnet pack CodeStructure.Analyzers/CodeStructure.Analyzers.csproj --configuration Release --no-build --output ./nupkg -p:PackageVersion=${{ env.PackageVersion }} + run: dotnet pack CodeStructure.Analyzers/CodeStructure.Analyzers.csproj --configuration Release --output ./nupkg -p:PackageVersion=${{ env.PackageVersion }} - name: Push to NuGet if: startsWith(github.ref, 'refs/tags/v')