Josh Gross
f54bed327a
[tool-cache] Update @actions/core and prepare 2.0.2 release ( #1872 )
...
* Update `@actions/core` and prepare 2.0.2 release
* Include these changes in the release notes
2025-01-15 15:57:09 -05:00
Josh Gross
74f3c8bd4a
Document unreleased changes in cache and tool-cache ( #1856 )
2024-10-22 12:01:31 -04:00
Josh Gross
0c4fa77917
Explicitly import crypto ( #1842 )
...
* Explicitly import `crypto`
* Add release notes for 1.11.1
* Fix crypto mock in test
* Fix `crypto` mock
* Lint
2024-10-04 17:23:42 -04:00
Josh Gross
ce303c8715
Remove dependency on uuid package ( #1824 )
2024-10-02 12:28:06 -04:00
Tatyana Kostromskaya
bfca0d6985
Merge pull request #1547 from actions/takost/update-http-client
...
Add function to return proxy agent dispatcher for compatibility with latest `octokit` packages
2023-10-06 14:47:16 +02:00
Tatyana Kostromskaya
f35519e30f
fix audit
2023-10-05 16:41:02 +02:00
Vallie Joseph
118c1d557c
Audit Fix ( #1480 )
...
* fixing audit failures
* replacing lerna bootstrap with npm command
* audit fix for cache and tool-cache
* updating tunnel
* upgrading core packages
* re-adding tunnel as prod dep
* updating dependencies
* updating exec deps
* updating exec io package
* .
* Revert
* updating packages
* adding core as dep
* updating learna config
* updating lerna commands
* Removing audit failing packages in cache + tool-cache
* updating contribution bootstrap description
* updating libraries
* prettier lint
* hiding stricter rules
* updating prettier command
* Removing unknown flag
* Adding eslint prettier
* ignoring sym links
* updating ignore path
* updating prettier rules
* changing prettier + github ver
* updating ts and ignores
* Revert ts
* Adding unknown ignores
* downgrading lerna
* .
* adding nx
* Adding lint auto lint rules
* updating eslint ignore for glob packages
* Adding subdirs to ignore
* adding flag for ignore pattern in linter
* Expanding ignore regex
* Adding ignore rules
* adding another ignore pattern to tsconfig eslint
* adding ignore pattern to eslintrc
* syncing package-json
* updating traverse
* .
* test adding core and http client to base package
* running npm ci
* adding tsconfig paths
* adding base URL
* Adding explicit path to core and http-client
* editing tsc call
* updating artifact packages
* force build
* updating lock file version
* updating lock file version
* upgrading node version
* Adding babel traverse back
* fixing build issue
* fixing typescript ver
* updating package json
* Adding ignore for artifact test
* adding ignore to flags
* unlink after test completes
* cleanup
* merge + package edit
2023-08-03 16:36:11 -04:00
Ferenc Hammerl
ee14549a84
Merge pull request #1278 from actions/fhammerl/node-v16-and-toolkit-fixes
...
Migrate dev environment and workflows to node16
2023-01-03 14:02:07 +01:00
Ferenc Hammerl
aed2e1df44
Update nock to work with node 16
2022-12-13 18:21:57 +01:00
Francesco Renzi
f190d58046
Merge pull request #1180 from actions/rentziass/allow-parse-url
2022-09-16 17:05:24 +01:00
Francesco Renzi
382485b562
Update internal dependencies
2022-09-16 15:47:36 +00:00
Sankalp Kotewar
182a6d6215
Merge pull request #1108 from actions/users/kotewar/fix-tar-exit-with-code-1
...
Adding fix for tar exiting with code 1 issue
2022-06-06 14:41:07 +05:30
Sankalp Kotewar
f50c0f9fea
Revert "Adding fix for tar exiting with code 1 issue"
...
This reverts commit 33330d111a .
2022-06-06 07:56:27 +00:00
Sankalp Kotewar
33330d111a
Adding fix for tar exiting with code 1 issue
2022-06-01 13:18:50 +00:00
Konrad Pabjan
76a3d6fbd0
Bump all packages that have @actions/http-client as a dependency ( #1088 )
...
* bump @actions/artifact
* update @actions/cache
* Update @actions/core
* Update @actions/github
* update @actions/tool-cache
2022-05-13 11:12:58 -04:00
Konrad Pabjan
d579d3f244
Bump @actions/http-client in all packages that use it ( #1087 )
2022-05-13 10:58:36 -04:00
Brian Cristante
2c7b3b38f2
Update other packages to use http-client v2 ( #1082 )
...
We moved `@actions/http-client` to be part of the toolkit in https://github.com/actions/toolkit/pull/1062 . We also made some breaking changes to exported types and released v2.
The biggest change in terms of lines of code affected was to get rid of the `I-` prefix for interfaces since TypeScript doesn't follow this convention.
I bumped the patch version of all packages except for `tool-cache`, where I bumped the major version. The rationale is explained in the release notes for that package.
2022-05-11 17:14:25 -04:00
Luke Tomlinson
59ef936b50
Fix npm audit ( #1040 )
2022-03-31 14:40:06 -04:00
Jonathan Tamsut
fcb2e94885
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
ca1f21a140
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
4687042964
feat: get linux version from os-release file if available ( #594 )
2021-05-28 15:40:45 -04:00
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 Wallner and Thomas 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