-
Notifications
You must be signed in to change notification settings - Fork 77
Extend NuGet workflow to support both MyGet and NuGet.org publishing #646
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-authored-by: Happypig375 <[email protected]>
Co-authored-by: Happypig375 <[email protected]>
Co-authored-by: Happypig375 <[email protected]>
Co-authored-by: Happypig375 <[email protected]>
Co-authored-by: Happypig375 <[email protected]>
Co-authored-by: Happypig375 <[email protected]>
|
@copilot Retain the original workflow - only extend to cover NuGet releases. |
Co-authored-by: Happypig375 <[email protected]>
|
@copilot Some common workflow steps should be shared. |
Co-authored-by: Happypig375 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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.