Extract‐Artifact - lsgroi/Pask GitHub Wiki

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 (which is removed and re-created if already existing).


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 @()