1
0
Fork 0
Commit Graph

19 Commits (c94bc40d8486c9edc6b583ea4bebd7d5cff8495d)

Author SHA1 Message Date
Bryan MacFarlane 4e9375da09
Tool cache install from a manifest file (#382) 2020-05-19 13:25:57 -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 84f1e31b69
send tar --version to debug log (#342) 2020-02-13 09:54:56 -05:00
eric sciple ab5bd9d696
octokit client should follow proxy settings (#314) 2020-01-18 14:28:37 -05:00
Bryan MacFarlane 2e88402d19
audit fix and update http-client (#298) 2020-01-10 16:37:48 -05:00
Josh Gross 8a4134761f Update to latest typescript version (#274) 2019-12-27 19:42:30 -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
Jan Jurzitza 9a3c005162 Clarify that extractTar extracts gzipped tars (#134)
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.
2019-11-15 16:12:36 -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
David Staheli e3317c6632 Export findVersions() (#14)
* Export findVersions()

* Rename `findVersions()` to `findAllVersions()`
2019-06-07 15:17:27 -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