27 Commits

Author SHA1 Message Date
Bishal Prasad
44cd5d150b args map 2022-11-24 08:50:57 +00:00
Sampark Sharma
54eb9b8055
Address some comments and correct compression commands 2022-11-21 12:05:03 +00:00
Lovepreet Singh
f9dfb05bd2 Temporarily remove thhe condition that prevents zstd usage on windows unless with GNUtar 2022-11-17 12:13:49 +00:00
Sampark Sharma
0e707aeabc
Address comments 2022-11-15 08:41:04 +00:00
Sampark Sharma
7181b913f5
Remove export 2022-11-14 06:34:18 +00:00
Sampark Sharma
436cf8d6ea
Fix tests 2022-11-10 15:50:06 +00:00
Sampark Sharma
e0aadb573c
Fix GNUtar path 2022-11-08 08:29:31 +00:00
Sampark Sharma
62a66a8ce9
Fix tests 2022-11-08 06:43:28 +00:00
Sampark Sharma
0c58e4113e
Fix gnutar check on windows 2022-11-07 13:43:54 +00:00
Lovepreet Singh
da6701aea9 Fix linting for changes 2022-07-13 13:37:49 +00:00
Lovepreet Singh
120202a68c Fix empty cache save on using or github.workspace(#833 in actions/cache) as path 2022-07-13 11:39:29 +00:00
Deepak Dahiya
f8a69bc473
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
03eca1b0c7
Revert "T dedah/cache size" (#1042) 2022-04-01 02:10:08 +05:30
Apple
6cd8286138 Resolved comments 2022-04-01 01:41:12 +05:30
Deepak Dahiya
7756e7c4cb Cleanup 2022-03-30 07:22:56 +00:00
Deepak Dahiya
76ac2fcd59 Added cacheSize in ReserveCache API request 2022-03-29 22:17:04 +00:00
Minh Nguyen
d972090333
Fix typo in function name (#590) 2021-05-03 11:09:44 -04:00
Aiqiao Yan
42b3ff04b2 Fix windows cache path 2020-12-10 10:59:04 -05: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
David Hadka
4964b0cc7c
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
f84d1a2ae2 Fix a bug with getCompressionMethod 2020-05-19 16:12:28 -04:00
Aiqiao Yan
fde6221228 React to feedback 2020-05-19 12:38:45 -04:00
Aiqiao Yan
5112dc231e 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
77761a4dc9 Fix issue with using zstd long range mode on ubuntu-16.04 2020-05-18 16:33:15 -04:00
Aiqiao Yan
d2b2399bd2 React to feedback 2020-05-15 12:26:42 -04:00
Aiqiao Yan
7409ad5fae Change variable path to a list 2020-05-12 12:02:18 -04:00
Aiqiao Yan
932779cf58 Initial commit to create @actions/cache package 2020-05-12 12:02:18 -04:00