1
0
Fork 0
Commit Graph

15 Commits (d3ad3eeb7f015447f6b9663d1b66995e577776c3)

Author SHA1 Message Date
Thomas Boop 32f15666bd
Fix Issue where we can no longer create zip files on windows during cli tests. (#520)
* Try using pwsh instead of powershell
* Fallback to powershell
* Format files correctly
2020-07-16 11:51:00 -04:00
Frederik Wallner 2710592b73
tool-cache: Support for extracting xar compatible archives (#207)
* 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>
2020-07-15 14:49:23 -04:00
Arthur Baars 57d20b4db4
tool-cache: make extract functions quiet by default and more verbose if `core.isDebug` is set (#206)
* 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.
2020-04-29 11:33:01 -04:00
Reinier Timmer 34f71e80ce
Check if tool path exists before executing (#385) 2020-04-28 10:36:49 -04:00
eric sciple 5859d7172e
only retry downloadtool on 500s and 408 and 429 (#373) 2020-03-09 14:35:53 -04:00
eric sciple 259743ae13
update downloadTool to handle errors from response stream and retry (#369) 2020-03-05 12:05:27 -05:00
eric sciple ab5bd9d696
octokit client should follow proxy settings (#314) 2020-01-18 14:28:37 -05:00
eric sciple e7cbd693eb
fix extractTar on Windows (#264) 2019-12-19 10:44:08 -05:00
eric sciple 61d502068b
overload downloadTool to accept destination path (#257) 2019-12-16 11:59:48 -05:00
Tony Brix 1d7e38e56d fix unzip error (#223) 2019-12-09 14:26:48 -05:00
Bryan MacFarlane 67eeeea9fa
use zip and unzip from path (#161) 2019-09-24 17:07:08 -04:00
Alif Rachmawadi 2c3e55b8c9 Add more supports for tar extensions (#48)
* 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
2019-08-13 14:26:14 -04:00
Alif Rachmawadi 35cd59e8d5 Added unzip for darwin (#49)
* added unzip for darwin

* add mac builds

* added zip for darwin
2019-08-13 12:39:01 -04:00
Danny McCormick 5218a83722
Check the right variables (#35) 2019-07-30 12:31:36 -04:00
Danny McCormick 71a9b2d3ed
Add tool-cache (#12)
* Add tool-cache

* Format

* Fix linux bug

* Update readme

* Package zip/unzip

* Reorganize

* Format

* unzip somehow got corrupted, fixing

* Resolve remaining todos

* Don't log everything

* Pass error codes

* linting

* Branding and nits

* Fix for mac

* clean up windows/nix logic

* Clean up tests

* Export HTTPError

* Add option for custom 7z tool

* Lint/format

* Dont wipe temp/tool directories
2019-06-06 14:16:48 -04:00