1
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2024-12-01 08:09:15 +01:00
Commit graph

66 commits

Author SHA1 Message Date
Sankalp Kotewar
1d114a8000
Save-only warning added 2022-12-20 16:15:42 +00:00
Sankalp Kotewar
3f0eaf4956
Linting errors fixed 2022-12-19 04:23:16 +00:00
Sankalp Kotewar
770b3a8151
Added stateprovider mock implementations 2022-12-19 04:19:49 +00:00
Sankalp Kotewar
930f080bad
Added test case for restore state 2022-12-15 04:12:52 +00:00
Sankalp Kotewar
c8d01facfc
Renamed output 2022-12-14 09:17:49 +00:00
Sankalp Kotewar
1ddc49105d
Removed unused code 2022-12-12 14:03:16 +00:00
Sankalp Kotewar
407044787b
Added more assertions as values can't be checked 2022-12-12 13:50:54 +00:00
Sankalp Kotewar
ccf90c02ed
Fixed breaking test case 2022-12-12 10:01:21 +00:00
Sankalp Kotewar
4f42dc56c1
Added stateprovider test cases 2022-12-12 09:53:50 +00:00
Sankalp Kotewar
b6604364ae
Deleted stateprovider tests until added 2022-12-12 07:28:47 +00:00
Sankalp Kotewar
91d7bd61be
Fixed review comments and tests 2022-12-12 07:26:18 +00:00
Sankalp Kotewar
5e7f2c1182
Fixed breaking test case 2022-12-11 16:47:35 +00:00
Sankalp Kotewar
3d4af52c52
Renamed variables and added tests 2022-12-11 13:33:36 +00:00
Sankalp Kotewar
8ecd00a4be
Added restore only and save only test cases 2022-12-08 17:56:21 +00:00
Sankalp Kotewar
782b0bd3df
Fixed test cases 2022-12-08 17:30:24 +00:00
Sankalp Kotewar
85ae5bbcea
Fixed breaking test case 2022-12-06 09:36:37 +00:00
Sankalp Kotewar
11ab7ccfa2
Reverted custom asks implemented and added wrapper 2022-12-02 10:14:43 +00:00
Sankalp Kotewar
8a88690a20
Fixed test cases issues 2022-11-30 08:38:59 +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
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
Vipul
f316f94f31 Generate build and fix format 2022-08-22 12:45:18 +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
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
Yonggoo Noh
45bb0b1552
Fix test description 2022-02-07 14:20:40 +09:00
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
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
0f71d4ac9a Add tests for isGhes 2020-09-29 12:36:19 -05:00
Dave Hadka
2850cd8f45 Fix test 2020-09-29 10:23:21 -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
Dave Hadka
05b13411a0 Add retries to all API calls 2020-05-11 11:11:25 -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
Aiqiao Yan
52046d1409 Use path.sep in path replace 2020-04-13 12:20:27 -04:00
Aiqiao Yan
08438313d5 Fix macOs-latest test 2020-04-10 15:50:35 -04:00
Aiqiao Yan
306f72536b Fix test 2020-04-10 15:33:43 -04:00
Aiqiao Yan
4fa017f2b7 Fallback to GNU tar if BSD tar is unavailable 2020-04-10 15:33:43 -04:00
Josh Gross
a4e3c3b64e
Add -P flag for tar creation 2020-04-08 10:58:38 -04:00
David Hadka
272268544c
Add path argument to verify-cache-files.sh 2020-04-07 23:30:01 -04:00
David Hadka
64f8769515
Add path argument to create-cache-files.sh 2020-04-07 23:29:07 -04:00