Skip to content

fix: add build step before NuGet pack in CI workflow#29

Merged
phmatray merged 1 commit intomainfrom
fix/add-build-step-before-pack
Feb 28, 2026
Merged

fix: add build step before NuGet pack in CI workflow#29
phmatray merged 1 commit intomainfrom
fix/add-build-step-before-pack

Conversation

@phmatray
Copy link
Contributor

Summary

  • Add explicit dotnet build --configuration Release --no-restore step before dotnet pack in the create_nuget job
  • Add --no-build flag to the dotnet pack step to avoid double-building
  • Fixes the staticwebassets.build.json manifest not found error that causes the pack step to fail

Test plan

  • Verify the create_nuget job completes successfully in CI
  • Verify the generated NuGet packages are valid (the validate_nuget job passes)

The pack step fails because staticwebassets.build.json manifest is not
found. Adding an explicit dotnet build step before dotnet pack ensures
the manifest is generated. The pack step now uses --no-build to avoid
double-building.
@phmatray phmatray merged commit 62691ca into main Feb 28, 2026
4 of 5 checks passed
@phmatray phmatray deleted the fix/add-build-step-before-pack branch February 28, 2026 14:34
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.

1 participant