Repository navigation
Extend NuGet workflow to support both MyGet and NuGet.org publishing - #646
Conversation
Co-authored-by: Happypig375 <19922066+Happypig375@users.noreply.github.com>
Co-authored-by: Happypig375 <19922066+Happypig375@users.noreply.github.com>
Co-authored-by: Happypig375 <19922066+Happypig375@users.noreply.github.com>
Co-authored-by: Happypig375 <19922066+Happypig375@users.noreply.github.com>
Co-authored-by: Happypig375 <19922066+Happypig375@users.noreply.github.com>
Co-authored-by: Happypig375 <19922066+Happypig375@users.noreply.github.com>
|
@copilot Retain the original workflow - only extend to cover NuGet releases. |
Co-authored-by: Happypig375 <19922066+Happypig375@users.noreply.github.com>
|
@copilot Some common workflow steps should be shared. |
Co-authored-by: Happypig375 <19922066+Happypig375@users.noreply.github.com>
Done. The workflow now retains the original MyGet job (triggered on push to master) and adds a new NuGet job (triggered on release publish). Both jobs run independently based on their respective triggers. Commits: 5cbf340, 8865bbd |
Co-authored-by: Happypig375 <19922066+Happypig375@users.noreply.github.com>
Done. Refactored the workflow to share common steps:
Commit: 8279bc1 |
|
@copilot Can the workflow name be displayed without "NuGet" for push, and without "MyGet" for release publish? |
Co-authored-by: Happypig375 <19922066+Happypig375@users.noreply.github.com>
Done. Added dynamic
The workflow run name in the GitHub Actions UI will now show only the relevant target for each trigger. Commit: 1bf1d3a |
The NuGet workflow now supports both MyGet continuous delivery and NuGet.org release publishing, retaining the original MyGet functionality while adding new NuGet release capabilities.
Changes
Workflow Structure
push: branches: [master](MyGet) andrelease: types: [published](NuGet)MyGet Publishing (Original Behavior Retained)
10.0.0-master-{timestamp}-{commit}MYGET_KEYNuGet Publishing (New Functionality Added)
v1.0.0→1.0.0)vprefix if presentNUGET_KEYBoth workflows publish all three packages: AngouriMath, AngouriMath.FSharp, AngouriMath.Interactive.
Code Quality Improvements
contents: read) following GitHub Actions best practicesNotes
NUGET_KEYsecret to be configured in repository settings for NuGet releasesOriginal prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.