Skip to content

Rename package-build.yml to prerelease.yml, manual trigger only - #1087

Merged
KevinJump merged 1 commit into
v18/mainfrom
chore/prerelease-workflow-v18
Sep 12, 2026
Merged

KevinJump merged 1 commit into
v18/mainfrom
chore/prerelease-workflow-v18

Conversation

@KevinJump

@KevinJump KevinJump commented Sep 12, 2026 •

Copy link
Copy Markdown
Owner

Summary

Referenced v17's #1082:
dotnet-build.yml already builds and tests every PR, so a full
build+pack run on every push to main in package-build.yml was
redundant.

  • Renamed package-build.yml to prerelease.yml.
  • Switched the trigger from push on main/*/main to workflow_dispatch.
  • Renamed the nightly package version suffix from -build. to
    -prerelease. to match the new file name.

Kept v18's already-modernized build steps (global.json,
packages.lock.json restore, per-project pack steps, separate
publish-nightly job gated on v18/main) rather than reverting to
v17's older version of the file — only the trigger/name/version-suffix
changes from #1082 were applied.

Test plan

  • File renamed and diffed against the previous package-build.yml —
    only the intended trigger/name/version-suffix lines changed.
  • Manually trigger prerelease.yml via gh workflow run (or
    /pre-release) and confirm it builds, packs, and publishes to the
    nightly feed with a -prerelease.N version suffix.

🤖 Generated with Claude Code

Referenced v17's #1082: dotnet-build.yml already builds and tests every
PR, so a full build+pack run on every push to main is redundant. Switches
the trigger to workflow_dispatch and renames the nightly version suffix
from -build. to -prerelease. to match. Kept v18's already-modernized
build steps (global.json, packages.lock.json, per-project pack, separate
publish-nightly job) rather than reverting to v17's older version of the
file.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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