532 Commits
Author SHA1 Message Date
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
Benedek Kozma 8c920f7860 Use GNU tar on macOS if available (#701)
* use GNU tar on macOS

* remove unnecessary code

* formatting fix

* fix tests

* fix more tests

* typo fix

* fix test
2021-02-02 20:09:10 +01:00
Yaroslav Dynnikov 4a6443b8d2 Make caching more verbose
- Print cache size when saving cache similarly to restoring
- Print restore success similarly to saving
- Print cached file list if debug logging is enabled

See also: https://github.com/actions/cache/issues/471
2021-01-07 23:51:43 +03:00
Aiqiao Yan 3bb2ae5cc1 Merge pull request #670 from actions/aiqiaoy/path
Fix windows cache path
2020-12-10 16:00:39 -05:00
Aiqiao Yan d753be7a4c Fix windows cache path 2020-12-10 10:59:04 -05:00
David Hadka 05ae26aea6 Merge pull request #624 from actions/dhadka/upload-chunk-error
Handle non-successful responses from uploadChunk
2020-11-03 14:12:06 -06:00
Dave Hadka 2a5f15753d Bump @actions/cache to 1.0.4 2020-11-03 13:12:34 -06:00
Dave Hadka 4edfa28553 Handle non-successful responses from uploadChunk 2020-11-03 09:53:44 -06:00
David Hadka 9db07a8e39 Merge pull request #558 from dhadka/dhadka/fix-error-handling
Handle errors representing non-successful http responses in retry logic
2020-10-20 09:54:21 -05:00
Dave Hadka 357b1c2d43 Update package version and release notes 2020-10-12 13:47:24 -05:00