Skip to content
This repository was archived by the owner on Nov 29, 2026. It is now read-only.

Pack in main.yml's build job - #42

Merged
polewskm merged 3 commits into
mainfrom
worktree-issue-41
Nov 29, 2026
Merged

polewskm merged 3 commits into
mainfrom
worktree-issue-41

Conversation

@polewskm

@polewskm polewskm commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

Adds a Pack step to .github/workflows/main.yml's build job, after Build: dotnet pack --no-build --configuration ${BUILD_CONFIGURATION} -p:PublicRelease=${PUBLIC_RELEASE}, as NCodeGroup/Extensions.DataProtection#33 did, with PUBLIC_RELEASE now set once in the build job's env: so Build and Pack always agree (NCode Review's F2). #38 removed GeneratePackageOnBuild, so dotnet build wrote no package and the publish job's gh release upload and dotnet nuget push would have found none on the next release. The packages land in NCode.Base64Url/bin/Release/, which the upload step's ./*/bin/* already carries to the publish job.

  • Verified locally: after dotnet build --no-restore --configuration Release, dotnet pack --no-build --configuration Release -p:PublicRelease=false writes NCode.Base64Url.2.0.2-g<commit>.nupkg and .snupkg, and with -p:PublicRelease=true writes NCode.Base64Url.2.0.2.nupkg and .snupkg; the publish job's globs ./*/bin/Release/*.nupkg ./*/bin/Release/*.snupkg match both. Before the change the same build left no package there.
  • Both publishers stay as they are: main.yml's API-key publish job works as before Update to project-template v0.145.1 recording the curated policy #38, and the template's publish.yml is unchanged. Choosing one is Decisions left after the project-template v0.61.2 and NCode Review v1.1.2 upgrade #27's open decision, not taken here (the issue's second option, dropping main.yml's publish job, was not chosen).
  • Defaults picked without asking: the issue's first option (the Pack step), and a ### Fixed changelog entry under [Unreleased].

Protected paths changed:
.github/workflows/main.yml

Closes #41

@polewskm
polewskm deployed to code-review November 29, 2026 09:22 — with GitHub Actions Active

@ncode-review ncode-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🤖 NCode Review at e4be986: 3 new findings on the changed lines.

Comment thread .github/workflows/main.yml Resolved
Comment thread .github/workflows/main.yml Resolved
Comment thread CHANGELOG.md Resolved

@ncode-review-approver ncode-review-approver Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Approved at e4be986: no blocker or should-fix finding remains.

@ncode-review

ncode-review Bot commented Nov 29, 2026 •

Copy link
Copy Markdown

Superseded by the review at 9163af4.

@polewskm

Copy link
Copy Markdown
Contributor Author

/review

@ncode-review-approver ncode-review-approver Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Approved at 9163af4: no blocker or should-fix finding remains.

@ncode-review

ncode-review Bot commented Nov 29, 2026 •

Copy link
Copy Markdown

🤖 Review complete

Verdict: ✅ Approve — Re-review of what changed since the last review at e4be986: 2 hunks in 1 file and changes taken back in 1 file, by correctness only. Earlier findings: F1 answered, F2 fixed, F3 answered. No further findings above nits.

Approval: Approved — no blocker or should-fix finding remains.

1 reviewer run — 0 findings (run details)

Reviewer Model Findings Top
correctness sonnet-5-5 0 🟢

Trial: findings are posted as review threads and in the check run. $0.03 on Amazon Bedrock, 8s, at 9163af4. (how to interact)

📋 Outcomes

Merged at 9163af4: 1 fixed, 2 dismissed, 0 acknowledged, 0 ignored.

Finding Reviewer Severity Outcome
F1 rule-check 🟡 Nit 👎 dismissed
F2 conventions, rule-check 🟡 Nit ✅ fixed
F3 hygiene 🟡 Nit 👎 dismissed

@polewskm

Copy link
Copy Markdown
Contributor Author

Autopilot: ready to merge as far as this run can tell. One round of review feedback: NCode Review's F2 was fixed in 9163af4 (PUBLIC_RELEASE set once in the build job's env:), F3 was declined (the project is pre-release: tracked, so the ### Fixed entry stays), and F1 was left as a follow-up already tracked by #27's "Two publishers on one release" decision, which this pull request deliberately doesn't settle. NCode Review re-reviewed 9163af4 with no further findings and approved it, and the required checks are green; CI's build job at 9163af4 packed NCode.Base64Url/bin/Release/NCode.Base64Url.2.0.2-g<commit>.nupkg and .snupkg, where the publish job looks.

Protected paths changed: .github/workflows/main.yml.

Unresolved threads, which the maintainer authorized this run to resolve before merging:

@polewskm
polewskm marked this pull request as ready for review November 29, 2026 09:33
@polewskm
polewskm deployed to code-review November 29, 2026 09:33 — with GitHub Actions Active
@polewskm
polewskm merged commit e80e67e into main Nov 29, 2026
15 checks passed
@polewskm
polewskm deleted the worktree-issue-41 branch November 29, 2026 09:37

This branch was successfully deployed

1 active deployment
code-review — 9163af4a Deployed Nov 29, 2026 by polewskm via review #99
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

main.yml's publish job finds no package since GeneratePackageOnBuild was removed

1 participant