Commit Graph
111 Commits
Author SHA1 Message Date
Sankalp Kotewar 0c96c069df Revert "Adding fix for tar exiting with code 1 issue"
This reverts commit ad2fd7b5e6.
2022-06-06 07:56:27 +00:00
Sankalp Kotewar ad0bcfaed5 Revert "Adding updated package-lock.json for cache"
This reverts commit f4607ebf68.
2022-06-06 07:56:25 +00:00
Sankalp Kotewar 1ae91a9cd4 Revert "Fixed test case for tar creation"
This reverts commit 3738ec9e0e.
2022-06-06 07:56:23 +00:00
Sankalp Kotewar 54d053e436 Revert "Fixed test case for Windows env"
This reverts commit 030e8aae59.
2022-06-06 07:56:18 +00:00
Sankalp Kotewar b4cbf6ed63 Revert "Changed an import in test case to standard import"
This reverts commit a3ed6186f8.
2022-06-06 07:56:16 +00:00
Sankalp Kotewar 427da1ded7 Revert "Revert "Changed an import in test case to standard import""
This reverts commit babade1a37.
2022-06-06 07:56:13 +00:00
Sankalp Kotewar babade1a37 Revert "Changed an import in test case to standard import"
This reverts commit a3ed6186f8.
2022-06-03 09:05:12 +00:00
Sankalp Kotewar a3ed6186f8 Changed an import in test case to standard import 2022-06-03 07:45:12 +00:00
Sankalp Kotewar 030e8aae59 Fixed test case for Windows env 2022-06-03 07:33:12 +00:00
Sankalp Kotewar 3738ec9e0e Fixed test case for tar creation 2022-06-03 07:19:54 +00:00
Sankalp Kotewar f4607ebf68 Adding updated package-lock.json for cache 2022-06-01 13:32:34 +00:00
Sankalp Kotewar ad2fd7b5e6 Adding fix for tar exiting with code 1 issue 2022-06-01 13:18:50 +00:00
Sankalp Kotewar 7cf4668bd5 Merge pull request #1097 from actions/users/kotewar/avoid-empty-cache-save
Avoid saving empty cache when there are no files to cache.
2022-05-24 13:27:13 +05:30
Sankalp Kotewar 4166efe273 Updated RELEASES.md with release information 2022-05-24 06:55:11 +00:00
Sankalp Kotewar 09a20812f4 Added package-lock.json after version upgrade 2022-05-24 05:48:53 +00:00
Sankalp Kotewar 8f99492a8a Patch version bumped from 2.0.4 to 2.0.5 for cache 2022-05-24 05:45:53 +00:00
Sankalp Kotewar 6b5378202f Test case fix for warning message changes 2022-05-23 12:05:31 +00:00
Sankalp Kotewar cb87af10a9 Enhanced warning description to make more sense. 2022-05-23 12:03:18 +00:00
Sankalp Kotewar a018510ff8 Fixed linting issues 2022-05-23 06:49:26 +00:00
Sankalp Kotewar 1741a92358 Standardized test case input 2022-05-23 06:39:22 +00:00
Sankalp Kotewar 94fe8e1a0d Added unit test case for #624 2022-05-23 06:32:13 +00:00
Sankalp Kotewar 5f97eb6aba Formatting changes 2022-05-23 05:59:56 +00:00
Sankalp Kotewar fc1ac62569 Updated error type to generic to show warning 2022-05-23 05:39:42 +00:00
Sankalp Kotewar 9a602d2d82 Adding check for cache paths' existence. 2022-05-22 10:09:13 +00:00
Konrad Pabjan 4ce776031b Bump all packages that have @actions/http-client as a dependency (#1088)
* bump @actions/artifact

* update @actions/cache

* Update @actions/core

* Update @actions/github

* update @actions/tool-cache
2022-05-13 11:12:58 -04:00
Konrad Pabjan d2252e096f Bump @actions/http-client in all packages that use it (#1087) 2022-05-13 10:58:36 -04:00
Brian Cristante 8262beac6e Update other packages to use http-client v2 (#1082)
We moved `@actions/http-client` to be part of the toolkit in https://github.com/actions/toolkit/pull/1062.  We also made some breaking changes to exported types and released v2.

The biggest change in terms of lines of code affected was to get rid of the `I-` prefix for interfaces since TypeScript doesn't follow this convention.

I bumped the patch version of all packages except for `tool-cache`, where I bumped the major version.  The rationale is explained in the release notes for that package.
2022-05-11 17:14:25 -04:00
Anurag Chauhan 4f1aeb7d92 Merge pull request #1050 from actions/fix_cache_error_type
Fix error type so that cache size limit violation is shown as warning( similar to previous error)
2022-04-07 14:46:23 +05:30
Anurag Chauhan ad7be876c4 Fix error type so that size limit violation is shown as warning 2022-04-07 09:08:16 +00:00
2849f395bc 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 25c2a7de74 Revert "T dedah/cache size" (#1042) 2022-04-01 02:10:08 +05:30
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
Apple cd441954ec Modified tests 2022-03-30 13:27:36 +05:30
Deepak Dahiya d6ce4432b1 package-lock revert 2022-03-30 07:33:48 +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 f5cad4d990 Merge pull request #1030 from actions/users/ashwinsangem/fix_download_chunk_cap
Cap the cache download chunk to 2 GB
2022-03-24 19:11:52 +05:30
Ashwin Sangem 1fd1407741 bumped up the @action/cache version. 2022-03-24 11:19:52 +00:00
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
Jonathan Tamsut 8c27220ee1 Update lockfileVersion in package-lock.json in tool-cache package (#1025)
* update packages

* update RELEASE

* update RELEASE

* remove extra README line
2022-03-16 11:27:30 -07:00
Jonathan Tamsut 95b82c0638 Update lockfileVersion in package-lock.json in cache package (#1022)
* update versions

* update release notes
2022-03-16 11:25:03 -07:00