Skip to content

Commit

Permalink
Remove packageSources override of nuget.org feed from nuget.config (#378
Browse files Browse the repository at this point in the history
)

Make NuGet.config use the default packageSources instead of clearing the inherited sources and defining the nuget.org feed explicitly. This allows GitHub builds to use the public NuGet.org feed, while the official builds use secure internal feeds instead.
  • Loading branch information
olegsych authored Aug 21, 2024
1 parent 7529176 commit ba21703
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions nuget.config
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<clear /> <!--Adding this to avoid NuGet Security Analysis failure -->
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
<add key="ServiceFabric_NugetPackages_LocalPath" value="refs" />
</packageSources>
<config>
<!--
Used to specify the default location to expand packages.
See: NuGet.exe help install
See: NuGet.exe help update
-->
<add key="repositoryPath" value="nuget\restored_packages" />
</config>
</configuration>

0 comments on commit ba21703

Please sign in to comment.