Luke Tomlinson
d594f1e4b3
Fix npm audit ( #1040 )
2022-03-31 14:40:06 -04:00
Jonathan Tamsut
d1abf7dc74
Update `lockfileVersion` in `package-lock.json` in `tool-cache` package ( #1025 )
...
* update packages
* update RELEASE
* update RELEASE
* remove extra README line
2022-03-16 11:27:30 -07:00
Thomas Boop
11601c0d2d
Release new version of the tool-cache ( #838 )
...
* update to latest version of @actions/io
* Release new version and update dependencies
* add pr number
2021-06-07 15:50:05 -04:00
Sergey Ukustov
e1a7863be6
feat: get linux version from os-release file if available ( #594 )
2021-05-28 15:40:45 -04:00
Thomas Boop
a65bca60a1
Tool Cache 1.7.0 release ( #821 )
...
* tc 1.7.0 release
* update verbiage
2021-05-27 11:44:59 -04:00
Luke Tomlinson
a1b068ec31
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
0d74e9080a
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
1c367e0a26
Export isExplicitVersion and evaluateVersions ( #796 )
...
* Export isExplicitVersion and evaluateVersions
* Lint
* Add docs
2021-05-07 16:13:26 -04:00
Thomas Boop
ed490dc20d
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
ff45a53422
Allow specifying arbitrary headers when downloading tools to the tool cache. ( #530 )
2021-04-28 14:39:15 -04:00
Thomas Boop
2bf7365352
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
c2bc747506
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
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