Commit Graph
61 Commits
Author SHA1 Message Date
Thomas Boop d662628ef4 Tool Cache 1.7.0 release (#821)
* tc 1.7.0 release

* update verbiage
2021-05-27 11:44:59 -04:00
Luke Tomlinson ca77cd3738 Bugfix: Fix issue with interactive unzip on Linux (#807)
* Add new powershell commands for windows unzip

* Test fails to overwrite file

* Add new windows commands for unzip

* Add Test for failing case for both pwsh and powershell

* Modify test to confirm overwrite behavior for xar

* Delete ._test.txt

* Add fallback case for older windows systems

* Remove try

* Run Tests on windows-2016

* Update tar tests to handle existing files

* Lint

* Update tool-cache.test.ts

* Update tool-cache.test.ts

* Update tool-cache.test.ts

* Update tool-cache.test.ts

* Update from PR feedback
2021-05-21 17:01:42 -04:00
Thomas Boop 92f5e5f5e2 Re-enable the audit tools step and update dependencies (#815)
* update package versions

* run audit

* fix eslint config

* linter updates

* re-enable audit

* update timeouts test

* pass done into callback

* fix format
2021-05-21 09:19:40 -04:00
Luke Tomlinson 6b9a4806e4 Export isExplicitVersion and evaluateVersions (#796)
* Export isExplicitVersion and evaluateVersions

* Lint

* Add docs
2021-05-07 16:13:26 -04:00
Thomas Boop d692b2897a Update dependencies of tool-cache to fix npm audit (#795)
* Update dependencies to resolve security issue

* run npm audit fix in `actions/github`

* update jest as well to newest version
2021-05-07 14:04:38 -04:00
Chris Gavin 2e0d90ff15 Allow specifying arbitrary headers when downloading tools to the tool cache. (#530) 2021-04-28 14:39:15 -04:00
Thomas Boop 2c37b431d9 Update @actions/core in remaining toolkit packages (#636)
* Update to latest @actions/core version

* Bump release notes for new versions

* Add correct pr #
2020-11-13 16:51:15 -05:00
Thomas Boop 0f32ffb417 Add License.md to all npm packages (#548)
* Add License.md to all npm packages
2020-08-25 16:26:50 -04:00
Thomas Boop 9ee01aacfc 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] f15f4c6923 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 3142ef15fc 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 ad162f273d 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 WallnerandThomas Boop c62c52f3d3 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 a6cbddccf6bf8f7278948e719dc9e28329608cdf.

* 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 0945165720 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 6a26996123 bump tool-cache version 2020-05-19 13:38:19 -04:00
Bryan MacFarlane ddd8190e89 Tool cache install from a manifest file (#382) 2020-05-19 13:25:57 -04:00
Thomas Boop 192fcf05b1 tool-cache 1.3.5 release (#454)
* tc 1.3.5 release
2020-05-13 14:39:10 -04:00
Kevin Sawicki d3af6e510f Update homepage to be tool-cache instead of exec (#452) 2020-05-12 10:22:22 -04:00
Arthur Baars 7689cf7d9d 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 0b48e3bc0a Check if tool path exists before executing (#385) 2020-04-28 10:36:49 -04:00
Bryan MacFarlane ab3122d15d bump tool-cache's http-client to 1.0.8 (#429) 2020-04-23 21:12:00 -04:00
eric sciple 2f72064524 only retry downloadtool on 500s and 408 and 429 (#373) 2020-03-09 14:35:53 -04:00
eric sciple bec67dbee4 generated 2020-03-05 12:07:25 -05:00
eric sciple a685e0505f update downloadTool to handle errors from response stream and retry (#369) 2020-03-05 12:05:27 -05:00
Josh Gross c76814b9ad Update tool cache docs (#347) 2020-02-26 11:43:55 -05:00
eric sciple c3e874bc43 send tar --version to debug log (#342) 2020-02-13 09:54:56 -05:00
Fabio Niephaus 3845b851bc await tc.downloadTool (#337) 2020-02-09 22:15:26 -05:00
eric sciple e3db38aab0 check proxy bypass before setting proxy agent (#320) 2020-01-23 14:35:41 -05:00
eric sciple 1b895e1ae4 release notes (#317) 2020-01-21 13:25:05 -05:00
eric sciple 65598905c0 octokit client should follow proxy settings (#314) 2020-01-18 14:28:37 -05:00
eric sciple 9b5d8e7334 release notes (#308) 2020-01-14 11:58:44 -05:00
Bryan MacFarlane 7c03783fc9 audit fix and update http-client (#298) 2020-01-10 16:37:48 -05:00
eric sciple 2d7cab17ec bump versions (#295) 2020-01-09 17:31:27 -05:00
Bryan MacFarlane fda83b65c1 audit security vulnerabilities as part of ci (#280) 2020-01-03 17:54:10 -05:00
Josh Gross 723c857727 Update to latest typescript version (#274) 2019-12-27 19:42:30 -05:00
eric sciple 55aba41705 fix extractTar on Windows (#264) 2019-12-19 10:44:08 -05:00
Yusuke Sakurai 78e6608bdc add: "types" to each package.json (#221)
fix es #148
2019-12-17 11:03:58 -05:00
eric sciple 24b8c790c3 overload downloadTool to accept destination path (#257) 2019-12-16 11:59:48 -05:00
Daniel Anechitoaie 6ef30bf250 Updated tc.cacheFile example (#226) 2019-12-11 18:05:18 -05:00
Tony Brix 133b2f64dd fix unzip error (#223) 2019-12-09 14:26:48 -05:00
eric sciple 8a120c3927 toolrunner should which tool before invoking (#220) 2019-11-18 16:20:01 -05:00
Jan Jurzitza a30db36de6 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 d2d2396b1e Add 'repository.directory' to package manifests (#143) 2019-09-24 22:30:51 -04:00
Bryan MacFarlane 6d964a84a9 bump tool-cache version 2019-09-24 17:20:01 -04:00
Bryan MacFarlane db534fd20b use zip and unzip from path (#161) 2019-09-24 17:07:08 -04:00
Jonathan Leitschuh 73e29cfaa1 Don't recommend the use of HTTP to download code (#120) 2019-09-09 09:39:43 -04:00
Jonathan Clem 65ff463c9b 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 1a699a52ef 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 b1963dece1 updating keywords 2019-08-23 17:39:40 -04:00
Danny McCormick 3de73bbd41 Add RELEASES.md for each package, bump tool-cache to publish (#67) 2019-08-22 13:14:49 -04:00