Commit Graph
63 Commits
Author SHA1 Message Date
Lovepreet Singh 99429534ff Merge branch 'main' into pdotl-zstd-win-patch 2022-08-18 16:35:00 +05:30
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
Sankalp Kotewar 43567c73a0 Added custom user inputted timeout 2022-08-16 04:14:27 +00:00
Sankalp Kotewar 47dad3f676 Updated variable names 2022-08-08 04:48:36 +00:00
Sankalp Kotewar 5591252081 Updated 45 mins abort timeout to 1 hour 2022-08-05 05:44:59 +00:00
Sankalp Kotewar 3e991a3fe9 Added custom promise with timeout 2022-08-03 13:25:47 +00:00
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 dc711a28f2 Change testcase to test against github workspace directory instead of current directory 2022-07-20 05:25:47 +00:00
Lovepreet Singh 601a55b62d Fix tar test cases 2022-07-18 12:48:19 +00:00
Lovepreet Singh 1491e8feaf Remove unnecessary import 2022-07-14 08:18:09 +00:00
Lovepreet Singh eff0aa87b8 Merge branch 'pdotl-empty-cache-bugfix' of https://github.com/actions/toolkit into pdotl-empty-cache-bugfix 2022-07-14 08:12:45 +00:00
Lovepreet Singh 7f3dae6795 Fix failing resolvePaths testcase 2022-07-14 08:10:40 +00:00
Lovepreet Singh 52d520bfd0 Fix failing resolvePaths testcase 2022-07-14 07:50:44 +00:00
Lovepreet Singh b9f1d7d9ae Fix testcase for resolvePaths works on current directory 2022-07-13 11:55:36 +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 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 6b5378202f Test case fix for warning message changes 2022-05-23 12:05:31 +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
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
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 2f2e0dc2cc New Response Type 2022-03-31 09:42:59 +00:00
Apple cd441954ec Modified tests 2022-03-30 13:27:36 +05:30
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
Aparna Ravindra 98e6cf8881 Cache: Increasing client validation to 10GB (#934)
* increasing client validation limit in cache package to 10gb
2021-11-19 16:34:33 +05:30
Thomas Boop d445878917 Re-enable the audit tools step and update dependencies (#815)
* update package versions

* run audit

* fix eslint config

* linter updates

* re-enable audit

* update timeouts test

* pass done into callback

* fix format
2021-05-21 09:19:40 -04:00
Minh Nguyen e22f646915 Fix typo in function name (#590) 2021-05-03 11:09:44 -04:00
Dave Hadka 1ebbd90cf3 Fix lint issue 2021-04-09 14:16:19 -05:00
Dave Hadka 6b5aa09767 Update tests 2021-04-09 14:10:36 -05:00
Benedek Kozma 8c920f7860 Use GNU tar on macOS if available (#701)
* use GNU tar on macOS

* remove unnecessary code

* formatting fix

* fix tests

* fix more tests

* typo fix

* fix test
2021-02-02 20:09:10 +01:00
Yaroslav Dynnikov 4a6443b8d2 Make caching more verbose
- Print cache size when saving cache similarly to restoring
- Print restore success similarly to saving
- Print cached file list if debug logging is enabled

See also: https://github.com/actions/cache/issues/471
2021-01-07 23:51:43 +03:00
David Hadka 9db07a8e39 Merge pull request #558 from dhadka/dhadka/fix-error-handling
Handle errors representing non-successful http responses in retry logic
2020-10-20 09:54:21 -05:00
Dave Hadka 8a54b2ade6 Clean up test code 2020-10-12 13:28:50 -05:00
Thomas Boop 8bc0f01ca3 swap to file commands (#587)
* swap to file commands

* swap to require
2020-09-30 15:46:54 +02:00
Dave Hadka cb220a0947 Add retry delay 2020-08-17 20:28:35 -05:00