Commit Graph

84 Commits

Author SHA1 Message Date
Sankalp Kotewar
11ab7ccfa2
Reverted custom asks implemented and added wrapper 2022-12-02 10:14:43 +00:00
Sankalp Kotewar
19446b165a
Slight modification for test cases check 2022-11-30 10:47:09 +00:00
Sankalp Kotewar
8a88690a20
Fixed test cases issues 2022-11-30 08:38:59 +00:00
Sankalp Kotewar
6e2c6a5916
Formatted document 2022-11-30 08:30:16 +00:00
Sankalp Kotewar
01d96636a0
Some cleanup 2022-11-30 08:26:50 +00:00
Sankalp Kotewar
9c5a42a7c9
Added test cases 2022-11-30 08:11:55 +00:00
Sankalp Kotewar
a172494938
Reverted wrapper changes 2022-11-29 10:56:53 +00:00
Sankalp Kotewar
f8717682fb
Impl separated 2022-11-29 09:55:41 +00:00
Sankalp Kotewar
af1210e2a3
test 2022-11-29 09:51:53 +00:00
Sankalp Kotewar
ab0e7714ce
new try 2022-11-29 09:39:21 +00:00
Sankalp Kotewar
fb4a5dce60
test 2022-11-29 09:33:03 +00:00
Sankalp Kotewar
71334c58b2
Test 2022-11-29 09:06:10 +00:00
Sankalp Kotewar
888d454557
experimenting 2022-11-29 09:03:19 +00:00
Sankalp Kotewar
dddd7ce07c
added debug logs 2022-11-29 08:26:52 +00:00
Sankalp Kotewar
921c58ee44
Changed logs to warnings 2022-11-29 08:06:41 +00:00
Sankalp Kotewar
7f45813c72
Adding wrapper class 2022-11-29 08:02:27 +00:00
Sankalp Kotewar
69b8227b27
Basic implementation 2022-11-25 09:16:56 +00:00
Vipul
68d96986b5 Remove sort logic from inputs 2022-10-03 06:39:10 +00:00
Shubham Tiwari
1a78ace131
Updated the GHES warning message (#925)
* changed the error message

* format

* review comment
2022-09-20 10:47:27 +05:30
Sankalp Kotewar
8954b07458 Removed unnecessary backslash in regex 2022-08-22 13:05:20 +00:00
Sankalp Kotewar
0ae6818675 Formatted files with prettier 2022-08-22 12:57:35 +00:00
Álvaro Mondéjar
204fa1ab69 Sort inputs and remove whitespaces after exclamation at the beginning of lines 2022-08-22 12:42:01 +00:00
Shubham Tiwari
354a2ae15e
Consuming 3.0 actions/cache (#834)
* Consuming 3.0 actions/cache

* formatting and error

* updated package version

* resolve package

* dist

* review comment

* dist

* dist
2022-07-07 21:56:17 +05:30
Deepak Dahiya
60742c2acf lint 2022-05-04 13:46:41 +00:00
Deepak Dahiya
626c44ce85
Update restore.ts 2022-05-04 21:26:37 +08:00
Deepak Dahiya
f2d5621efc Turning error from any to unknown 2022-05-04 12:32:55 +00:00
vsvipul
887b9060fe Update dependencies with older minimist version 2022-05-04 16:47:33 +05:30
Shubham Tiwari
136d96b4ae
Enabling actions/cache for GHES based on presence of AC service (#774)
* initial changes

* Update package-lock.json

* Update package-lock.json

* review comments and updated test cases

* package.json

* changed name

* added new line

* changed tookit

* updated with 2.0

* changed with public released package

* ran code format

* linting errors

* Update actionUtils.test.ts

* Update cache.dep.yml

* Update package.json

* Update README.md

* Create RELEASES.md

* Update RELEASES.md

* Update package.json

* Update package-lock.json

* typo
2022-03-30 15:46:49 +05:30
Vít Stanislav
2ebdcff279
Add "see more" link to GHE-not-supported warning (#609)
* Add "see more" link to GHE-not-supported warning

I lived for several months thinking that support for caching action on GHE is just a matter of time, because it's such an important thing to have. Only today, I discovered that originally it was not planned at all. And that people already created some workarounds. So I hope that linking the issue from the warning message will save other people from what happened to me :-)

* Update new GHE-not-supported message in tests

* Update generated dist files
2021-07-20 10:02:26 -04:00
David Hadka
c64c572235
Catch and log unhandled exceptions stemming from closed file descriptor (#596) 2021-05-27 10:46:35 -05:00
Yaroslav Dynnikov
26968a09c0
Make save/restore logs akin (#509)
- Print primary key when saving cache
2021-02-03 23:07:49 +01:00
Dave Hadka
4bceb75b5b Use parseInt instead of Number to handle empty strings 2020-10-02 10:55:30 -05:00
Dave Hadka
a6f1f4b32e Adds input for upload chunk size 2020-10-02 09:59:55 -05:00
Dave Hadka
d3e4f218f3 Use warning instead of info 2020-09-30 08:47:16 -05:00
Dave Hadka
4d604c6cce No-op on GHES 2020-09-29 09:58:32 -05:00
Dave Hadka
d60d2bef10 Improve string split 2020-06-02 17:07:33 -05:00
Aiqiao Yan
bcc23b930f React to feeback and change to use 0.2.0 cache package 2020-05-19 15:53:25 -04:00
Aiqiao Yan
7f9517a009 Switch cache action to use the cache node package 2020-05-15 15:07:37 -04:00
Aiqiao Yan
16a133d9a7
Merge pull request #263 from actions/users/aiyan/allow-all-events
Allow all events to access cache
2020-05-15 14:13:16 -04:00
David Hadka
bac1a40c81
Merge pull request #306 from actions/with-retries
Add retries to all API calls
2020-05-11 16:56:45 -05:00
Aiqiao Yan
4967c8e6c5 error handling for stream 2020-05-11 15:21:21 -04:00
Dave Hadka
a0024e2bd0 Merge branch 'master' of http://github.com/actions/cache into with-retries 2020-05-11 12:55:11 -04:00
Dave Hadka
05b13411a0 Add retries to all API calls 2020-05-11 11:11:25 -04:00
Dave Hadka
354f70a56c Fix upload chunk retries 2020-05-11 10:49:48 -04:00
Aiqiao Yan
29b4783cc7 Merge fixes 2020-05-11 10:18:19 -04:00
Aiqiao Yan
2403bbedac Make sure ref is not null or empty 2020-05-11 10:16:07 -04:00
Aiqiao Yan
ccc66f769e Allow all events to access cache 2020-05-11 10:16:07 -04:00
Aiqiao Yan
75cd46ec0c Use 30 as the long distance matching window to support both 32-bit and 64-bit OS 2020-05-01 14:25:15 -04:00
Aiqiao Yan
a5d9a3b1a6 Address PR feedback 2020-05-01 10:01:43 -04:00
Aiqiao Yan
97f7baa910 Use zstd instead of gzip if available
Add zstd to cache versioning
2020-04-30 14:40:17 -04:00