Skip to content

Commit

Permalink
Fix Download warning (#13067)
Browse files Browse the repository at this point in the history
  • Loading branch information
lutzroeder authored Feb 2, 2023
1 parent 72706d1 commit fd02b8b
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions eng/cake/dotnet.cake
Original file line number Diff line number Diff line change
Expand Up @@ -315,24 +315,6 @@ Task("dotnet-pack-library-packs")
var destDir = $"./artifacts/library-packs";
EnsureDirectoryExists(destDir);
CleanDirectories(destDir);
void Download(string id, string version, params string[] sources)
{
version = XmlPeek("./eng/Versions.props", "/Project/PropertyGroup/" + version);
NuGetInstall(id, new NuGetInstallSettings
{
Version = version,
ExcludeVersion = false,
OutputDirectory = tempDir,
Source = sources,
});
CopyFiles($"{tempDir}/**/" + id + "." + version + ".nupkg", destDir, false);
CleanDirectories(tempDir);
}
// Download("PACKAGE_ID", "VERSION_VARIABLE", "SOURCE_URL");
});

Task("dotnet-pack-docs")
Expand Down

0 comments on commit fd02b8b

Please sign in to comment.