Commit Graph
88 Commits
Author SHA1 Message Date
Sampark Sharma 1765c0fd16 Remove export 2022-11-14 06:34:18 +00:00
Sampark Sharma 54d762b585 Revert "Add logs for cache version on miss"
This reverts commit af8783ee87.
2022-11-14 06:33:53 +00:00
Sampark Sharma af8783ee87 Add logs for cache version on miss 2022-11-14 05:24:09 +00:00
Sampark Sharma 77aef0ed4c Fix tests 2022-11-10 15:50:06 +00:00
Sampark Sharma e8091e7b94 Fix GNUtar path 2022-11-08 08:29:31 +00:00
Sampark Sharma cc292001eb Fix tests 2022-11-08 06:43:28 +00:00
Sampark Sharma 802b275be8 Fix gnutar check on windows 2022-11-07 13:43:54 +00:00
Sampark Sharma 43d72f5923 Add gnuTar as default in windows 2022-11-07 13:39:07 +00:00
Lovepreet Singh 0c62886e6a Fix linting issues 2022-08-18 11:44:15 +00:00
Lovepreet Singh 8765fae9d1 Fix spread operator for getCompressionMethod 2022-08-18 11:22:13 +00:00
Lovepreet Singh 993972da73 Merge remote-tracking branch 'refs/remotes/origin/pdotl-zstd-win-patch' into pdotl-zstd-win-patch 2022-08-18 11:17:36 +00:00
Lovepreet Singh ec892fc29a Remove unused constants 2022-08-18 11:10:41 +00:00
Lovepreet Singh 99429534ff Merge branch 'main' into pdotl-zstd-win-patch 2022-08-18 16:35:00 +05:30
Lovepreet Singh 09244d83b7 Common getCompressionMethod for listTar and extractTar 2022-08-18 11:01:22 +00:00
Sankalp Kotewar 78c5baafab Updated cache download to segment download 2022-08-18 05:32:49 +00:00
Lovepreet Singh 1e4d71c2ca Fix failing test cases on windows 2022-08-17 08:33:23 +00:00
Lovepreet Singh cd6fe2862c Fix linting 2022-08-17 07:47:49 +00:00
Sankalp Kotewar 43567c73a0 Added custom user inputted timeout 2022-08-16 04:14:27 +00:00
Lovepreet Singh 35960c5de6 Use zstd short flag version for win runners. Update comments to reflect the same. Fix --d to -d in comments. 2022-08-13 18:01:07 +00:00
Sankalp Kotewar 663ae8940e Reverted to custom promise implementation 2022-08-11 04:43:43 +00:00
Sankalp Kotewar dc1b3d616b Updated error message and null check 2022-08-08 13:22:11 +00:00
Sankalp Kotewar 5e28be1229 Added formatting changes 2022-08-08 04:56:02 +00:00
Sankalp Kotewar 47dad3f676 Updated variable names 2022-08-08 04:48:36 +00:00
Sankalp Kotewar edd4bb18a1 Fixed linting issues 2022-08-05 11:43:31 +00:00
Sankalp Kotewar 3528ea98d1 Removed custom promise and used abort timeout 2022-08-05 11:09:23 +00:00
Sankalp Kotewar 5591252081 Updated 45 mins abort timeout to 1 hour 2022-08-05 05:44:59 +00:00
Sankalp Kotewar 55fef07ca0 Linting fixes 2022-08-03 14:12:16 +00:00
Sankalp Kotewar 3e991a3fe9 Added custom promise with timeout 2022-08-03 13:25:47 +00:00
Sankalp Kotewar 3c8d7fb1c3 Added abort controller for timer 2022-08-03 11:11:30 +00:00
Sankalp Kotewar 4e2d0885c4 Added abortController to stop download 2022-08-03 10:23:42 +00:00
Shubham Tiwari f7739db321 Update downloadUtils.ts 2022-07-29 12:52:57 +05:30
Bishal Prasad 73b52181f7 Hack for timeout for segment download 2022-07-29 12:37:50 +05:30
Lovepreet Singh 6850b55878 Merge pull request #1135 from actions/pdotl-zstd-alias
Move zstd from flags to equivalent aliases
2022-07-26 16:04:16 +05:30
Lovepreet Singh 662e7fc4f0 Move zstd from flags to equivalent aliases 2022-07-18 09:12:07 +00:00
Lovepreet Singh 34526e53bb Fix linting for changes 2022-07-13 13:37:49 +00:00
Lovepreet Singh 8ccf58a6eb Fix empty cache save on using or github.workspace(#833 in actions/cache) as path 2022-07-13 11:39:29 +00:00
Shubham Tiwari 98f1922f44 Graceful handling of error (non-validation one) (#1122)
* Initial changes

* added info error as well

* Format

* Unused package

* adding message field

* removed line

* Review comments

* review comment to add validation as errors handling
2022-06-24 10:46:20 +05:30
Sankalp Kotewar 24cec71274 Reverted other package-lock.json 2022-06-06 08:03:56 +00:00
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 ad2fd7b5e6 Adding fix for tar exiting with code 1 issue 2022-06-01 13:18:50 +00:00
Sankalp Kotewar cb87af10a9 Enhanced warning description to make more sense. 2022-05-23 12:03:18 +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
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 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