94 Commits
Author SHA1 Message Date
Sampark Sharma d4fc1ac928 Revert "Cache package release for compression change in windows" (#1289)
* Revert "Cache package release for compression change in windows (#1281)"

This reverts commit 6140e090c3.

* Update release version to patch
2022-12-27 16:00:28 +05:30
6140e090c3 Cache package release for compression change in windows (#1281)
* bsd + zstd fallback implementation

* bsd + zstd fallback implementation

* Fix tar operations

* Add -v option for testing

* Fix order of args for tar

* Add GNUtar as default on windows

* Fix test

* Fix tar tests

* Fix lint issues

* Fix windows gnutar test case

* Temporarily remove thhe condition that prevents zstd usage on windows unless with GNUtar

* Address some comments and correct compression commands

* Add windows bsdtar test

* Fix windows test

* Fix test

* Separate args

* Fix old tests

* Add new tests

* Fix tests

* Fix lint test

* Refactor code

* Address review comments

* Fix test

* Fix tar test

* Add await to async function calls

* Fix test

* Update for beta release

* Fix audit issues

* Add fallback to gzip compression if cache not found

* Fix test

* Add test

* Address review comments

* Revert Address review comments

* Release 3.1.0-beta.2 cache package

* Fix issues

* Reconfigure catch block

* Add debug logging for gzip fall back

* Fix test

* Add end to end test for cache using bsd on windows
and address review comments

* Fix test

* Fix test

* Fix tests

* Add better comments

* Update packages/cache/src/internal/cacheHttpClient.ts

Co-authored-by: Bishal Prasad <bishal-pdmsft@github.com>

* Address review comments

* Update for new beta cache package release

* Address bugbash issues

* Fix tests

* Release new actions/cache minor version

Co-authored-by: Lovepreet Singh <pdotl@github.com>
Co-authored-by: Bishal Prasad <bishal-pdmsft@github.com>
2022-12-22 20:47:35 +05:30
Sankalp Kotewar 719d1cc263 Update RELEASES.md 2022-10-18 23:14:31 +05:30
Sankalp Kotewar 2c65c4b864 Fixed environment variable in the docs. (#1216) 2022-10-18 12:31:00 +05:30
Lovepreet Singh d102a29bc0 Update RELEASES.md 2022-10-13 09:36:33 +00:00
Lovepreet Singh 99429534ff Merge branch 'main' into pdotl-zstd-win-patch 2022-08-18 16:35:00 +05:30
Sankalp Kotewar 888ff9e820 Updated releases.md 2022-08-18 09:16:59 +00:00
Sankalp Kotewar 63aa9d5164 Updated Segment readme and version 2022-08-18 06:46:57 +00:00
Sankalp Kotewar 608dab8cd4 corrected environment variable 2022-08-18 06:38:04 +00:00
Sankalp Kotewar 78c5baafab Updated cache download to segment download 2022-08-18 05:32:49 +00:00
Sankalp Kotewar 43567c73a0 Added custom user inputted timeout 2022-08-16 04:14:27 +00:00
Lovepreet Singh f8835dcb67 Bump internal package @actions/cache version to fix #888 and #891 in actions/cache repo 2022-08-13 18:46:24 +00:00
Sankalp Kotewar 3b92574de3 Updated release info for v3.0.3 for actions/cache 2022-08-11 07:13:04 +00:00
Sankalp Kotewar 736ee61ac8 Updated version and Releases.md 2022-08-05 07:20:59 +00:00
Lovepreet Singh 38deb11f26 Fix #809 and #833 in actions/cache. Bump version 2022-08-03 07:01:03 +00:00
Shubham Tiwari 4494306e7f new major version release (#1123) 2022-06-24 15:18:30 +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 4166efe273 Updated RELEASES.md with release information 2022-05-24 06:55:11 +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
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
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 1fd1407741 bumped up the @action/cache version. 2022-03-24 11:19:52 +00:00
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
vsvipul 6428071fbc Update RELEASES.md 2022-02-04 14:11:29 +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
David Hadka 22c74debdb Update RELEASES.md 2021-04-09 14:23:05 -05:00
Konrad Pabjan 94eef0fe5f actions/cache 1.0.6 release (#705) 2021-02-02 20:48:46 +01:00
Aiqiao Yan d753be7a4c Fix windows cache path 2020-12-10 10:59:04 -05:00
Dave Hadka 2a5f15753d Bump @actions/cache to 1.0.4 2020-11-03 13:12:34 -06:00
Dave Hadka 357b1c2d43 Update package version and release notes 2020-10-12 13:47:24 -05:00
Sora Morimoto 71ec744d46 Use posix archive format (#533)
* Use posix archive format

Signed-off-by: Sora Morimoto <sora@morimoto.io>

* Update package.json and RELEASES.md

Signed-off-by: Sora Morimoto <sora@morimoto.io>
2020-08-05 17:17:23 +02:00
Dave Hadka 2b92697208 Fix bug downloading large files with the Azure SDK 2020-07-20 15:36:34 -05:00
Dave Hadka bbe7756a8e Display download progress 2020-07-13 12:46:34 -05:00
David HadkaandJosh Gross 0fff1c0358 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
Aiqiao Yan fdf3b5be47 Add section for 0.2.1 2020-05-19 16:36:18 -04:00
Aiqiao Yan 68107ecbdd Fix a bug with getCompressionMethod 2020-05-19 16:12:28 -04:00
Aiqiao Yan bdfa7e4a46 Minor edit to cache release note 2020-05-19 13:20:27 -04:00
Aiqiao Yan 36ea9f9d81 Bump cache package version 2020-05-19 12:59:38 -04:00
Aiqiao Yan 6c4ba6514f React to feedback 2020-05-15 12:26:42 -04:00
Aiqiao Yan eccf4388e3 Fix tests 2020-05-12 12:02:18 -04:00
Aiqiao Yan ab4976ef10 Initial commit to create @actions/cache package 2020-05-12 12:02:18 -04:00