10 Commits

Author SHA1 Message Date
Bishal Prasad
9b309c5a32
Hack for timeout for segment download 2022-07-29 12:37:50 +05:30
Brian Cristante
aa676f3cc7
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
Ashwin Sangem
087191dabd
Update downloadUtils.ts 2022-03-23 16:46:52 +05:30
Ashwin Sangem
862c4e9db4
Cap the cache download chunk to 2 GB 2022-03-23 16:44:40 +05:30
Thomas Boop
0d74e9080a
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
d972090333
Fix typo in function name (#590) 2021-05-03 11:09:44 -04:00
Dave Hadka
781092b1d1 Fix bug downloading large files with the Azure SDK 2020-07-20 15:36:34 -05:00
Dave Hadka
c4a92b0b60 Update with reviewer feedback 2020-07-13 16:09:37 -05:00
Dave Hadka
cc474239c9 Display download progress 2020-07-13 12:46:34 -05:00
David Hadka
4964b0cc7c
Use Azure storage SDK to download cache (#497)
* Adds option to download using AzCopy

* Bump version number and add release notes

* Ensure we use at least v10

* Negate env var so it disables AzCopy

* Use Azure storage SDK to download cache

* Use same level of parallelism as AzCopy

* Fix naming of variable

* React to feedback

* Bump Node types to Node 12

* Make linter happy

* Pass options into restoreCache method

* Fix tests

* Restructure files and add tests

* Add method to get the default download and upload options

* Include breaking changes in RELEASES.md

Co-authored-by: Josh Gross <joshmgross@github.com>
2020-07-10 17:09:32 +02:00