1
0
Fork 0
Commit Graph

52 Commits (c3c81d44c185dce875e041e15e3b3dbd5754c3d2)

Author SHA1 Message Date
Thomas Boop ccad19055e
Set main as the default branch (#527)
* set main as the default branch

* revert change to tool-cache default branch

* use versions where applicable
2020-07-21 11:33:05 -04:00
dependabot[bot] 0bf9897205
Bump lodash from 4.17.15 to 4.17.19 (#524)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-16 16:56:22 -04:00
Thomas Boop 8f6ddeb087
Tool cache 1.6.0 Release Notes (#519)
* Tool-cache 1.6.0 release notes

* Adjust spacing
2020-07-16 15:46:02 -04:00
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
Thomas Boop 95a10d23fa
Pipe audit results to a json file so lerna does not overflow (#515)
* Pipe audit results to a json file so lerna does not overflow

* reorder flags and args
2020-07-14 16:05:53 -04:00
Bryan MacFarlane f4aa824135 bump tool-cache version 2020-05-19 13:38:19 -04:00
Bryan MacFarlane 4e9375da09
Tool cache install from a manifest file (#382) 2020-05-19 13:25:57 -04:00
Thomas Boop 36e732155e
tool-cache 1.3.5 release (#454)
* tc 1.3.5 release
2020-05-13 14:39:10 -04:00
Kevin Sawicki d1b52e7168
Update homepage to be tool-cache instead of exec (#452) 2020-05-12 10:22:22 -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
Bryan MacFarlane eec6689a61
bump tool-cache's http-client to 1.0.8 (#429) 2020-04-23 21:12:00 -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 df0aa9077a generated 2020-03-05 12:07:25 -05:00
eric sciple 259743ae13
update downloadTool to handle errors from response stream and retry (#369) 2020-03-05 12:05:27 -05:00
Josh Gross 54bcb7c4f1
Update tool cache docs (#347) 2020-02-26 11:43:55 -05:00
eric sciple 84f1e31b69
send tar --version to debug log (#342) 2020-02-13 09:54:56 -05:00
Fabio Niephaus 0ecc141d4e await tc.downloadTool (#337) 2020-02-09 22:15:26 -05:00
eric sciple 432a78c48c check proxy bypass before setting proxy agent (#320) 2020-01-23 14:35:41 -05:00
eric sciple 6072c249ee
release notes (#317) 2020-01-21 13:25:05 -05:00
eric sciple ab5bd9d696
octokit client should follow proxy settings (#314) 2020-01-18 14:28:37 -05:00
eric sciple e69833ed16
release notes (#308) 2020-01-14 11:58:44 -05:00
Bryan MacFarlane 2e88402d19
audit fix and update http-client (#298) 2020-01-10 16:37:48 -05:00
eric sciple 947ba5b559
bump versions (#295) 2020-01-09 17:31:27 -05:00
Bryan MacFarlane 803934eca0
audit security vulnerabilities as part of ci (#280) 2020-01-03 17:54:10 -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
Yusuke Sakurai 606e1f27ac add: "types" to each package.json (#221)
fix es #148
2019-12-17 11:03:58 -05:00
eric sciple 61d502068b
overload downloadTool to accept destination path (#257) 2019-12-16 11:59:48 -05:00
Daniel Anechitoaie 9f6c37ac52 Updated tc.cacheFile example (#226) 2019-12-11 18:05:18 -05:00
Tony Brix 1d7e38e56d fix unzip error (#223) 2019-12-09 14:26:48 -05:00
eric sciple 5c894298f2
toolrunner should which tool before invoking (#220) 2019-11-18 16:20:01 -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
Harry Marr 47ccfea021 Add 'repository.directory' to package manifests (#143) 2019-09-24 22:30:51 -04:00
Bryan MacFarlane 1f7964519a bump tool-cache version 2019-09-24 17:20:01 -04:00
Bryan MacFarlane 67eeeea9fa
use zip and unzip from path (#161) 2019-09-24 17:07:08 -04:00
Jonathan Leitschuh b529540e0c Don't recommend the use of HTTP to download code (#120) 2019-09-09 09:39:43 -04:00
Jonathan Clem a2ab4bcf78
Publish
- @actions/core@1.1.0
 - @actions/exec@1.0.1
 - @actions/github@1.1.0
 - @actions/io@1.0.1
 - @actions/tool-cache@1.1.1
2019-09-05 11:03:19 -04:00
Guillaume Clochard ac36ca4405 Small fix for the tool-cache extract example (#99)
* Fix tool-cache extract example

* Use extractZip or extract7z in tool-cache example fix
2019-08-29 11:08:06 -04:00
Bryan MacFarlane f66f5629b3 updating keywords 2019-08-23 17:39:40 -04:00
Danny McCormick 6b9630ac94 Add RELEASES.md for each package, bump tool-cache to publish (#67) 2019-08-22 13:14:49 -04:00
Jason Etcovitch 1d687b2170 tool-cache/README.md 2019-08-21 01:18:31 -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 a40bce7c8d Publish
- @actions/core@1.0.0
 - @actions/exec@1.0.0
 - @actions/github@1.0.0
 - @actions/io@1.0.0
 - @actions/tool-cache@1.0.0
2019-08-07 13:33:06 -04:00
Danny McCormick d7f00ea0fd
Update package versions to 1.0.0 (#42)
* Update package versions to 1.0.0

* Fix package-lock
2019-08-07 12:56:34 -04:00
Danny McCormick 293aa1ae02 Update package docs (#38)
* Update README.md

* Add exec guidance

* Add io guidance

* Add tool-cache guidance

* Readability

* Readability

* Readability

* Nit

* Nit

* Nit
2019-08-04 09:00:04 -04:00
Danny McCormick 5218a83722
Check the right variables (#35) 2019-07-30 12:31:36 -04:00
Danny McCormick d8737aa49c
Normalize package versions (#20) 2019-06-24 14:36:36 -04:00