* Test xar extraction
* Support for extracting xar compatible archives
* Only allow extractXar on mac
* Create xar during test instead of using prebuilt
* Update lockfiles
* Add verbose flag if debug
* Add extractXar example to readme
* Revert "Update lockfiles"
This reverts commit a6cbddccf6.
* Use node pkg in example
* Remove and ignore prebuilt xar
* Tests for non-existing dir and without flags
* Better arguments handling
* Make sure that target directory exists
Co-authored-by: Thomas Boop <52323235+thboop@users.noreply.github.com>
* tool-cache: make unzip and 7z extract quiet by default
This avoids spamming the log when unzipping large archives.
* tool-cache: make tar, unzip and 7z verbose when `core.isDebug`
Make the extract function print the list of extracted file if
the action is run in debug mode.
The default downloadTool implementation strips the filename so when passing it to the extractTar function, it doesn't have a way of knowing the format without manually specifying it. However what the extractTar function arguments meant and how to specify them wasn't clear before reading the source code, so the documentation here got updated to reflect that.
* added test for extracting .tar.gz
* added ability to extract .tar.xz
* add flags to extract tar
* make use of tempPath
* check file contents and make different content for tar file