Skip to content

Extract‐Artifact

Luca Sgroi edited this page Apr 1, 2017 · 16 revisions

Synopsis

Extract the artifact from a ZIP archive or a NuGet package present in .build\output.
The archive or package name should match $ArtifactName.* and the task will extract it in $ArtifactFullPath.


Dependencies

  • 7-Zip Command Line
    File archiver with a high compression ratio

Properties

  • FileNamesToExtract - array of specific file names to extract only (e.g. MyAssembly.dll)
    Defalut to @()