Skip to content

Commit

Permalink
Builds failing due to restore failure of recently published packages #…
Browse files Browse the repository at this point in the history
…2327

Prevent NuGet from using cached packages in CI builds
  • Loading branch information
vatsan-madhavan committed Mar 25, 2019
1 parent 5cfc9ed commit 42f5442
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Microsoft.DotNet.Arcade.Sdk/tools/DefaultVersions.props
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@
<RestoreConfigFile>$(RepoRoot)NuGet.config</RestoreConfigFile>
</PropertyGroup>

<!--
Prevent NuGet from using cached packages
Workaround for https://github.com/NuGet/Home/issues/3116
-->
<PropertyGroup>
<RestoreNoCache Condition="'$(ContinuousIntegrationBuild)' == 'true'">true</RestoreNoCache>
</PropertyGroup>

<!--
Arcade SDK features.
-->
Expand Down

0 comments on commit 42f5442

Please sign in to comment.