Frederik Wallner
90558e58b3
Create xar during test instead of using prebuilt
2020-05-03 21:01:30 +02:00
Frederik Wallner
ac3a3233fa
Merge remote-tracking branch 'upstream/master' into tool-cache-xar
...
# Conflicts:
# packages/tool-cache/__tests__/tool-cache.test.ts
2020-05-03 19:37:24 +02: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
Frederik Wallner
3e7cf23e47
Only allow extractXar on mac
2019-11-08 13:25:41 +01:00
Frederik Wallner
ca65f538e9
Test xar extraction
2019-11-08 09:37:02 +01: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