ci: restore packages from private Azure Artifacts feed - #188
Open
Gavin Barron (gavinbarron) wants to merge 1 commit into
Open
ci: restore packages from private Azure Artifacts feed#188Gavin Barron (gavinbarron) wants to merge 1 commit into
Gavin Barron (gavinbarron) wants to merge 1 commit into
Conversation
Follow the msgraph-sdk-dotnet pattern: authenticate to Azure Artifacts, generate a nuget.config pointing at the GraphDeveloperExperiences_Public feed, and restore against it before building. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: de2aa252-29a0-42a1-8236-2c2359aaabe2
Jingjing Jia (jingjingjia-ms)
approved these changes
Aug 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Ports the ADO pipeline (
.azure-pipelines/ci-build.yml) to restore NuGet packages from the privateGraphDeveloperExperiences_PublicAzure Artifacts feed, following the pattern established in msgraph-sdk-dotnet'sci-build.yml.In the
buildjob, immediately after the existingNuGetToolInstallerstep:NuGetAuthenticate@1— authenticates the build agent to Azure Artifacts.nuget.config— generates a config with<clear />(removes nuget.org) and the singleGraphDeveloperExperiences_Publicfeed source at$(Build.SourcesDirectory)/nuget.config.dotnet restore— restoreskibali.slnwithfeedsToUse: configandnugetConfigPathpointing at the generated config.--no-restoreso it uses the authenticated restore output. Theteststep already ran with--no-build.Related Issues
Testing Done
YAML syntax validated locally. Pipeline behavior can only be fully verified on an ADO run.
dotnet buildpassesdotnet testpassesChecklist
Microsoft Reviewers: Open in CodeFlow