Commit Graph
40 Commits
Author SHA1 Message Date
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
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 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
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
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
Minh Nguyen e22f646915 Fix typo in function name (#590) 2021-05-03 11:09:44 -04:00
David Hadka 43af7e1698 Fix permissions issues using gtar on mac 2021-04-09 13:38:55 -05: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 d753be7a4c Fix windows cache path 2020-12-10 10:59:04 -05:00
Dave Hadka 4edfa28553 Handle non-successful responses from uploadChunk 2020-11-03 09:53:44 -06:00
Dave Hadka 8a54b2ade6 Clean up test code 2020-10-12 13:28:50 -05:00
Dave Hadka cb220a0947 Add retry delay 2020-08-17 20:28:35 -05:00
Dave Hadka a54758037a Handle errors representing non-successful http responses in retry logic 2020-08-17 15:10:51 -05:00
Sora Morimoto 71ec744d46 Use posix archive format (#533)
* Use posix archive format

Signed-off-by: Sora Morimoto <sora@morimoto.io>

* Update package.json and RELEASES.md

Signed-off-by: Sora Morimoto <sora@morimoto.io>
2020-08-05 17:17:23 +02:00
Thomas Boop e88b63c1fb 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
Dave Hadka 2b92697208 Fix bug downloading large files with the Azure SDK 2020-07-20 15:36:34 -05:00
Dave Hadka df426af5a9 Update with reviewer feedback 2020-07-13 16:09:37 -05:00
Dave Hadka bbe7756a8e Display download progress 2020-07-13 12:46:34 -05:00
David HadkaandJosh Gross 0fff1c0358 Use Azure storage SDK to download cache (#497)
* Adds option to download using AzCopy

* Bump version number and add release notes

* Ensure we use at least v10

* Negate env var so it disables AzCopy

* Use Azure storage SDK to download cache

* Use same level of parallelism as AzCopy

* Fix naming of variable

* React to feedback

* Bump Node types to Node 12

* Make linter happy

* Pass options into restoreCache method

* Fix tests

* Restructure files and add tests

* Add method to get the default download and upload options

* Include breaking changes in RELEASES.md

Co-authored-by: Josh Gross <joshmgross@github.com>
2020-07-10 17:09:32 +02:00
Aiqiao Yan 68107ecbdd Fix a bug with getCompressionMethod 2020-05-19 16:12:28 -04:00
Aiqiao Yan ae9b6ba171 React to feedback 2020-05-19 12:38:45 -04:00
Aiqiao Yan 3f105f84d2 Only use zstd on windows when gnu tar is installed, otherwise use gzip due to bug #301 2020-05-18 16:35:13 -04:00
Aiqiao Yan 800a3d0a98 Fix issue with using zstd long range mode on ubuntu-16.04 2020-05-18 16:33:15 -04:00
Aiqiao Yan 6c4ba6514f React to feedback 2020-05-15 12:26:42 -04:00
Aiqiao Yan 19e88cf252 Attempt to fix the test 2020-05-13 13:43:13 -04:00
Aiqiao Yan 2df0bd7fb8 Add cache upload options and pull from latest actions/cache master 2020-05-12 12:53:45 -04:00
Aiqiao Yan 7f6eb71d18 Change variable path to a list 2020-05-12 12:02:18 -04:00
Aiqiao Yan ab4976ef10 Initial commit to create @actions/cache package 2020-05-12 12:02:18 -04:00