Commit Graph
41 Commits
Author SHA1 Message Date
Josh Gross 3624ceb22c Restore original behavior of cache-hit output (#1467)
* Restore original behavior of `cache-hit` output

* Bump version to 4.1.1
2024-10-08 13:08:22 -04:00
Josh Gross 2cdf405574 Prepare 4.1.0 release (#1464) 2024-10-04 17:00:33 -04:00
Josh Gross c74ca4022c Deprecate save-always input (#1452)
The `save-always` input added in v4 is not
working as intended due to
`post-if` expressions not supporting the input
context.
To avoid breaking users who have already added
this input to their workflows, it is being
deprecated now and will be removed
in the next major version (v5).
See https://github.com/actions/cache/issues/1315 for more details.
2024-10-03 18:37:55 +00:00
Josh Gross a3047dcdce Fix CODEOWNER team name (#480) 2020-12-07 15:50:21 -05:00
Josh Gross 984ce638f0 Add note about using setup-node before cache (#351) 2020-06-15 15:55:57 -04:00
Josh Gross 2b83e91661 Add examples for creating a cache key (#312) 2020-05-20 10:54:39 -04:00
Josh Gross a4e3c3b64e Add -P flag for tar creation 2020-04-08 10:58:38 -04:00
Josh Gross e5370355e6 Combine relative jobs into main test jobs 2020-04-08 10:52:52 -04:00
Josh Gross f60097cd16 Fix Lerna Example (#242)
* Fix lerna example

* Fix yaml spacing
2020-04-02 10:35:07 -04:00
Josh Gross 206172ea8e npm audit fix (#221) 2020-03-18 09:31:59 -04:00
Josh Gross 4dc4b4e758 Change name back to Cache 2020-02-05 10:39:52 -05:00
Josh Gross 85aee6a487 Update docs with 5GB limit 2020-02-05 10:33:21 -05:00
Josh Gross 23e301d35c Disable fail-fast to get full coverage of failures 2020-01-29 20:34:56 -05:00
Josh Gross 60e292adf7 Update cache limits (#140) 2020-01-07 15:01:47 -05:00
Josh Gross b45d91cc4b Chunked Cache Upload APIs (#128)
* Initial pass at chunked upload apis

* Fix cacheEntry type

* Linting

* Fix download cache entry tests

* Linting tests

* Pull in fixes from testing branch

* Fix typo in ReserveCacheResponse

* Add test convering reserve cache failure

* Add retries to upload chunk

* PR feedback

* Format default chunk size

* Remove responses array
2020-01-06 13:05:50 -05:00
Josh Gross 3854a40aee Use BSD tar on windows (#126)
* Use BSD tar on windows

* Linting

* Fallback to which tar if no system tar

* Fix formatting

* Bump prettier and typescript
2019-12-13 17:24:37 -05:00
Josh Gross 95c1798369 Remove validation failures and warning annotations (#108)
* Update warnings behavior

* Add void return type
2019-11-21 14:37:54 -05:00
Josh Gross 639f9d8b81 Mask download URL in logs (#110) 2019-11-21 14:37:32 -05:00
Josh Gross d9fe1b81f9 Release 1.0.2 2019-11-19 11:55:11 -05:00
Josh Gross 92ae3b63f8 Update badge link 2019-11-15 15:04:12 -05:00
Josh Gross 84b3b283f0 Await io mkdirP (#100) 2019-11-15 10:25:57 -05:00
Josh Gross 8d14a2150b Add unit tests for save (#98)
* Clean up args and arrange imports

* Arrange args in restore tests

* Add unit tests for save

* Use const instead of let (linting)
2019-11-14 17:14:16 -05:00
Josh Gross c0584c42d1 Add unit tests for actionUtils (#93)
* Add unit tests for actionUtils

* Fix file size on ubuntu and test name

* Remove unused import
2019-11-13 16:13:00 -05:00
Josh Gross bb828da54c Format cache size and display on info (#85) 2019-11-13 11:00:46 -05:00
Josh Gross 7e7aef2963 Add pip examples (#86) 2019-11-13 10:55:05 -05:00
Josh Gross b7d83b4095 Provide better errors for unsupported event types (#68)
* Validate event type during restore

* PR Feedback

* Format

* Linting
2019-11-13 10:54:39 -05:00
Josh GrossandEric Taylor 50a2fdee6f Update yarn cache example (#70)
* Update yarn cache example

* Update examples.md

Co-Authored-By: Eric Taylor <[email protected]>
2019-11-13 10:18:47 -05:00
Josh Gross f0cbadd748 Use cache in workflows (#90) 2019-11-12 17:48:19 -05:00
Josh Gross 4657a5f525 Fix lint on Windows (#89) 2019-11-12 17:01:15 -05:00
Josh Gross bc821d0c12 Remove recommendation to cache node_modules (#69)
* Update npm caching examples

* Fix output name

* Remove extra details tag
2019-11-07 21:04:46 -05:00
Josh Gross bde557aefd Fix PR filters 2019-11-07 20:02:06 -05:00
Josh Gross 4b0709a0d5 Add unit tests for restore (#62)
* Move archive file size to utils

* Disable net connect with nock

* Add unit tests for restore

* Fix test names and test URL
2019-11-06 13:41:45 -05:00
Josh Gross b034b26a44 Bump cache limit to 400MB (#61) 2019-11-05 15:24:22 -05:00
Josh Gross d8c5e69fe2 Update badge to filter to master push events 2019-11-05 10:59:26 -05:00
Josh Gross f66a56e59e Bump version to v1 (#51) 2019-11-04 16:40:33 -05:00
Josh Gross 0e86554410 Ignore all .md files 2019-11-01 10:22:36 -04:00
Josh Gross aae1376422 Exclude documentation from CI tests (#28) 2019-10-31 17:22:35 -04:00
Josh Gross 526c940a94 Prevent commands from executing during tests (#21)
* Prevent commands from executing during tests

* Add newline at end of file

* Drop all commands from output
2019-10-31 15:05:59 -04:00
Josh Gross 3743276c66 Move examples to their own page (#13) 2019-10-31 11:36:50 -04:00
Josh Gross 889c603691 Update workflow (#1)
* Run workflow on linux, mac, and windows

* Add status badge

* Use npm install instead

* Bump typescript version

* Use node 12.x
2019-10-31 10:37:00 -04:00
Josh Gross b2cac08cff Create CODE_OF_CONDUCT.md 2019-10-30 15:34:55 -04:00