Skip to content
This repository has been archived by the owner on Sep 25, 2024. It is now read-only.

Commit

Permalink
Update AzDO NuGet feed, as required for compliance (#837)
Browse files Browse the repository at this point in the history
For compliance we can't use the default public NuGet feed.
Instead, use the same feeds (some of them) that are used for xamarin-android (https://github.com/xamarin/xamarin-android/blob/main/NuGet.config), another public repo.

Also disable building for Mac, since it's no longer needed.
  • Loading branch information
BretJohnson authored Jan 10, 2024
1 parent 58679c9 commit f3313fa
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .build/automation/stages/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ stages:
- job: 'MacOS'
pool:
vmImage: 'macos-12'
# Disable building on Mac as the main branch is now only used on Windows
condition: false

steps:
- checkout: self
Expand Down
12 changes: 8 additions & 4 deletions NuGet.Config
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
</packageSources>
</configuration>
<packageSources>
<clear />
<!-- ensure only the sources defined below are used -->
<add key="dotnet-public" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json" protocolVersion="3" />
<add key="dotnet-eng" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json" protocolVersion="3" />
</packageSources>
<disabledPackageSources />
</configuration>

0 comments on commit f3313fa

Please sign in to comment.