Skip to content

Conversation

@paulirwin
Copy link
Member

Summary

  • Remove --no-build flag from pack command so it builds in Release mode
  • Exclude Benchmarks project from NuGet packing by setting IsPackable=false

Fixes the CI failure from the previous NuGet pack PR.

Changes

  • Updated .github/workflows/dotnet.yml to use dotnet pack -c Release instead of dotnet pack --no-build
  • Added <IsPackable>false</IsPackable> to Benchmarks project file

Test plan

  • Verify the pack step now builds in Release mode
  • Verify Benchmarks project is excluded from NuGet packages
  • Verify CI passes on a subsequent build

🤖 Generated with Claude Code

Copilot AI review requested due to automatic review settings October 22, 2025 17:02
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Fixes CI failure in NuGet pack step by ensuring Release mode build and excluding the Benchmarks project from packaging.

  • Changed pack command to explicitly build in Release configuration instead of skipping build
  • Excluded Benchmarks project from NuGet packaging

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
test/F23.StringSimilarity.Benchmarks/F23.StringSimilarity.Benchmarks.csproj Added IsPackable property to prevent benchmark project from being packaged
.github/workflows/dotnet.yml Modified pack command to build in Release mode instead of using pre-built artifacts

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

…project

Remove --no-build flag to allow dotnet pack to build in Release mode instead of reusing the Debug build. Add IsPackable=false to Benchmarks project to prevent it from being included in NuGet packs.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@paulirwin paulirwin force-pushed the chore/fix-nuget-pack branch from d9aaadd to 7a37d45 Compare October 22, 2025 17:05
@paulirwin paulirwin requested a review from Copilot October 22, 2025 17:06
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@paulirwin paulirwin enabled auto-merge (squash) October 22, 2025 17:08
@paulirwin paulirwin merged commit e1219e4 into main Oct 22, 2025
3 checks passed
@paulirwin paulirwin deleted the chore/fix-nuget-pack branch October 22, 2025 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants