-
Notifications
You must be signed in to change notification settings - Fork 39
XS✔ ◾ Adding separate Nuget.Config for GitHub #789
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
Add NuGet configuration file for package management
PR Metrics✔ Thanks for keeping your pull request small.
Metrics computed by PR Metrics. Add it to your Azure DevOps and GitHub PRs! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds a dedicated NuGet configuration file intended for use in GitHub environments to ensure that nuget.org is available as a package source, overriding any restrictive global configuration.
Changes:
- Introduced
NuGet-GitHub.Configwithnuget.orgas the sole package source. - Cleared disabled package sources and package sources to avoid interference from machine/global configs.
- Explicitly disabled automatic package restore (primarily a Visual Studio behavior), keeping the file focused on source configuration.
|
@copilot update GitHub workflows to use Nuget-Github.Config for package restore tasks. |
…tore (#790) * Initial plan * Update GitHub workflow to use NuGet-GitHub.Config for package restore Co-authored-by: neilr81 <49037171+neilr81@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: neilr81 <49037171+neilr81@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 2 out of 3 changed files in this pull request and generated 2 comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 4 out of 4 changed files in this pull request and generated no new comments.
Added NuGet-GitHub.Config to the solution file.
This pull request updates the build and package management workflows to improve reliability and align with current branch naming conventions. The main changes include switching references from
mastertomain, adding a new NuGet configuration file for internal package sources, and ensuring proper restore steps in the build pipeline.Build and workflow updates:
refs/heads/mastertorefs/heads/mainto match the current default branch naming convention. [1] [2]NuGet-GitHub.Configfile, and ensured all subsequentdotnetcommands use--no-restorefor efficiency and reliability.Package management improvements:
Nuget.Configfile that configures the build to use only the internal Office package feed and disables source control integration for package sources..github/pipelines/github-packageupdate.yml) to set the SDK channel toLTSand clarified the display name for package update jobs. [1] [2]