Commit Graph
91 Commits
Author SHA1 Message Date
Sankalp Kotewar 94fe8e1a0d Added unit test case for #624 2022-05-23 06:32:13 +00:00
Sankalp Kotewar 5f97eb6aba Formatting changes 2022-05-23 05:59:56 +00:00
Sankalp Kotewar fc1ac62569 Updated error type to generic to show warning 2022-05-23 05:39:42 +00:00
Sankalp Kotewar 9a602d2d82 Adding check for cache paths' existence. 2022-05-22 10:09:13 +00:00
Konrad Pabjan 4ce776031b 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 d2252e096f Bump @actions/http-client in all packages that use it (#1087) 2022-05-13 10:58:36 -04:00
Brian Cristante 8262beac6e 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
Anurag Chauhan 4f1aeb7d92 Merge pull request #1050 from actions/fix_cache_error_type
Fix error type so that cache size limit violation is shown as warning( similar to previous error)
2022-04-07 14:46:23 +05:30
Anurag Chauhan ad7be876c4 Fix error type so that size limit violation is shown as warning 2022-04-07 09:08:16 +00:00
2849f395bc Added cacheSize in ReserveCache API request (#1044)
* Added cacheSize in ReserveCache API request

* minor

* minor

* minor

* Cleanup

* package-lock revert

* Modified tests

* New Response Type

* cleanup

* Linting

* Lint fix

* Resolved comments

* Added tests

* package-lock

* Resolved package-lock mismatch

* Liniting

* Update packages/cache/src/cache.ts

Co-authored-by: Bishal Prasad <bishal-pdmsft@github.com>

* Linting issue

* Resolved few comments

* version upgrade

* Savecache tests

* RequestUtil test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

Co-authored-by: Apple <apple@Apples-MacBook-Pro.local>
Co-authored-by: Bishal Prasad <bishal-pdmsft@github.com>
2022-04-04 16:21:58 +05:30
Deepak Dahiya 25c2a7de74 Revert "T dedah/cache size" (#1042) 2022-04-01 02:10:08 +05:30
Apple c24bdf1c4c Resolved comments 2022-04-01 01:41:12 +05:30
Apple bef181dc3f Lint fix 2022-04-01 01:16:43 +05:30
Deepak Dahiya ae40a4eeab Linting 2022-03-31 10:41:54 +00:00
Deepak Dahiya ef57afe2bd cleanup 2022-03-31 09:44:40 +00:00
Deepak Dahiya 2f2e0dc2cc New Response Type 2022-03-31 09:42:59 +00:00
Apple cd441954ec Modified tests 2022-03-30 13:27:36 +05:30
Deepak Dahiya d6ce4432b1 package-lock revert 2022-03-30 07:33:48 +00:00
Deepak Dahiya f4b85ff8ee Cleanup 2022-03-30 07:22:56 +00:00
Deepak Dahiya 13cc85dbab minor 2022-03-29 22:21:15 +00:00
Deepak Dahiya 3d90e2772f minor 2022-03-29 22:20:22 +00:00
Deepak Dahiya 0cc2510a7f minor 2022-03-29 22:19:10 +00:00
Deepak Dahiya 8613989147 Added cacheSize in ReserveCache API request 2022-03-29 22:17:04 +00:00
Shubham TiwariandBrian Cristante 646eb713fa Adding support in cache package to check if Artifact Cache service is enabled or not (#1028)
* Added support to check if Artifact cache service is enabled or not.

* enablingForGHES

* added ACTIONS_CACHE_URL in fixtures

* Fix CI

* CI fix

* changed function name

* Function rename

* Updated release

* added test case

* Update RELEASES.md

* Lint errors

* lint

* linting

* lint

* update name to actions service

* Update packages/cache/src/internal/cacheUtils.ts

Co-authored-by: Brian Cristante <33549821+brcrista@users.noreply.github.com>

* review comments

* linting

* linting

* push to start CI

* Update RELEASES.md

* remove extra spaces

* reverting version update

* Revert "reverting version update"

This reverts commit af84eba61ef8c119458dc0ce1da85b01d61b9d13.

* Update RELEASES.md

Co-authored-by: Brian Cristante <33549821+brcrista@users.noreply.github.com>
2022-03-25 14:40:02 +05:30
Ashwin Sangem f5cad4d990 Merge pull request #1030 from actions/users/ashwinsangem/fix_download_chunk_cap
Cap the cache download chunk to 2 GB
2022-03-24 19:11:52 +05:30
Ashwin Sangem 1fd1407741 bumped up the @action/cache version. 2022-03-24 11:19:52 +00:00
Ashwin Sangem c2a609193c Update downloadUtils.ts 2022-03-23 16:46:52 +05:30
Ashwin Sangem 6df9950b6c Cap the cache download chunk to 2 GB 2022-03-23 16:44:40 +05:30
Jonathan Tamsut 8c27220ee1 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
Jonathan Tamsut 95b82c0638 Update lockfileVersion in package-lock.json in cache package (#1022)
* update versions

* update release notes
2022-03-16 11:25:03 -07:00
vsvipul 6428071fbc Update RELEASES.md 2022-02-04 14:11:29 +05:30
vsvipul 0f49739ea5 Bump up patch version 2022-02-01 17:15:42 +05:30
vsvipul 689778164a Update ms-rest-js and storage-blog dependencies for cache 2022-02-01 16:24:23 +05:30
Aparna Ravindra 98e6cf8881 Cache: Increasing client validation to 10GB (#934)
* increasing client validation limit in cache package to 10gb
2021-11-19 16:34:33 +05:30
Rob Cowsill c7d3c67e59 Delete temporary archive after cache upload (#792)
This is to avoid filling the SSD while saving multiple large caches
2021-06-28 17:27:09 +02:00
dependabot[bot] eeb5f1a0e4 Bump ws from 7.4.5 to 7.4.6 in /packages/github (#824)
Bumps [ws](https://github.com/websockets/ws) from 7.4.5 to 7.4.6.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.4.5...7.4.6)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-01 09:50:37 -04:00
dependabot[bot] 949fe25801 Bump ws from 7.2.3 to 7.4.6 (#823)
Bumps [ws](https://github.com/websockets/ws) from 7.2.3 to 7.4.6.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.2.3...7.4.6)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-01 09:50:25 -04:00
Thomas Boop d445878917 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
dependabot[bot] f6c5e6951b Bump lodash from 4.17.15 to 4.17.21 (#801)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.21)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-14 14:39:47 -04:00
Minh Nguyen e22f646915 Fix typo in function name (#590) 2021-05-03 11:09:44 -04:00
Vikas Kedia ac26ce4956 Update README.md (#531)
more logical to read save cache before restore cache
2021-04-12 10:18:07 -04:00
David Hadka ae19412824 Merge pull request #767 from actions/dhadka/fix-permissions
Fix permissions issues using gtar on mac
2021-04-09 14:34:51 -05:00
David Hadka 22c74debdb Update RELEASES.md 2021-04-09 14:23:05 -05:00
Dave Hadka 1ebbd90cf3 Fix lint issue 2021-04-09 14:16:19 -05:00
Dave Hadka 6b5aa09767 Update tests 2021-04-09 14:10:36 -05:00
David Hadka 03d5ddd152 Update package-lock.json 2021-04-09 13:58:53 -05:00
David Hadka 820b820390 Update package.json 2021-04-09 13:58:35 -05:00
David Hadka 43af7e1698 Fix permissions issues using gtar on mac 2021-04-09 13:38:55 -05:00
dependabot[bot] 823bdf43ef Bump y18n from 4.0.0 to 4.0.1 (#753)
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-02 12:41:01 -04:00
Konrad Pabjan 94eef0fe5f actions/cache 1.0.6 release (#705) 2021-02-02 20:48:46 +01:00