Add mirrored artifacts to restore sources for repo builds
This commit is contained in:
parent
a5293eeca5
commit
476a383539
|
|
@ -162,6 +162,12 @@
|
||||||
SourceName="Artifacts"
|
SourceName="Artifacts"
|
||||||
Condition="%(Repository.Build)"
|
Condition="%(Repository.Build)"
|
||||||
SourceUri="$(BuildDir)" />
|
SourceUri="$(BuildDir)" />
|
||||||
|
|
||||||
|
<UpdatePackageSource
|
||||||
|
NuGetConfigPath="%(Repository.RootPath)NuGet.config"
|
||||||
|
SourceName="MirroredArtifacts"
|
||||||
|
Condition="%(Repository.Build)"
|
||||||
|
SourceUri="$(IntermediateMirrorPackageDir)" />
|
||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
<Target Name="CopyPackagesByCategory">
|
<Target Name="CopyPackagesByCategory">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue