Commit e1219e4
Fix NuGet pack CI step: build in Release mode and exclude Benchmarks (#46)
## 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](https://claude.com/claude-code)
---------
Co-authored-by: Claude <[email protected]>
Co-authored-by: Copilot <[email protected]>1 parent d388485 commit e1219e4
File tree
2 files changed
+4
-3
lines changed- .github/workflows
- test/F23.StringSimilarity.Benchmarks
2 files changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
0 commit comments