Sankalp Kotewar
e5e69a3171
Added abortController to stop download
2022-08-03 10:23:42 +00:00
Lovepreet Singh
567598fdd7
Fix #809 and #833 in actions/cache. Bump version
2022-08-03 07:01:03 +00:00
Shubham Tiwari
388d774221
Update downloadUtils.ts
2022-07-29 12:52:57 +05:30
Bishal Prasad
9b309c5a32
Hack for timeout for segment download
2022-07-29 12:37:50 +05:30
Lovepreet Singh
01e1ff7bc0
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
e98bae803b
Change testcase to test against github workspace directory instead of current directory
2022-07-20 05:25:47 +00:00
Lovepreet Singh
dd553d68ce
Fix tar test cases
2022-07-18 12:48:19 +00:00
Lovepreet Singh
74dd6f6817
Move zstd from flags to equivalent aliases
2022-07-18 09:12:07 +00:00
Lovepreet Singh
83bca5cb13
Remove unnecessary import
2022-07-14 08:18:09 +00:00
Lovepreet Singh
2a37ee752b
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
ec95a9b114
Fix failing resolvePaths testcase
2022-07-14 08:10:40 +00:00
Lovepreet Singh
67cb82d99b
Fix failing resolvePaths testcase
2022-07-14 07:50:44 +00:00
Lovepreet Singh
da6701aea9
Fix linting for changes
2022-07-13 13:37:49 +00:00
Lovepreet Singh
593bc7061c
Fix testcase for resolvePaths works on current directory
2022-07-13 11:55:36 +00:00
Lovepreet Singh
120202a68c
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
c5278cdd08
new major version release ( #1123 )
2022-06-24 15:18:30 +05:30
Shubham Tiwari
46231a7da3
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
41c667327d
Reverted other package-lock.json
2022-06-06 08:03:56 +00:00
Sankalp Kotewar
2fd9a80bc1
Revert "Adding fix for tar exiting with code 1 issue"
...
This reverts commit 197f5a13a9
.
2022-06-06 07:56:27 +00:00
Sankalp Kotewar
ebfda315a5
Revert "Adding updated package-lock.json for cache"
...
This reverts commit 1d5b16aa38
.
2022-06-06 07:56:25 +00:00
Sankalp Kotewar
fe93288f85
Revert "Fixed test case for tar creation"
...
This reverts commit 91842768bd
.
2022-06-06 07:56:23 +00:00
Sankalp Kotewar
49cd1ccc3f
Revert "Fixed test case for Windows env"
...
This reverts commit a78bb30ca0
.
2022-06-06 07:56:18 +00:00
Sankalp Kotewar
3cf35dbd46
Revert "Changed an import in test case to standard import"
...
This reverts commit 347d2e2a35
.
2022-06-06 07:56:16 +00:00
Sankalp Kotewar
845770f824
Revert "Revert "Changed an import in test case to standard import""
...
This reverts commit c1bb3fb679
.
2022-06-06 07:56:13 +00:00
Sankalp Kotewar
c1bb3fb679
Revert "Changed an import in test case to standard import"
...
This reverts commit 347d2e2a35
.
2022-06-03 09:05:12 +00:00
Sankalp Kotewar
347d2e2a35
Changed an import in test case to standard import
2022-06-03 07:45:12 +00:00
Sankalp Kotewar
a78bb30ca0
Fixed test case for Windows env
2022-06-03 07:33:12 +00:00
Sankalp Kotewar
91842768bd
Fixed test case for tar creation
2022-06-03 07:19:54 +00:00
Sankalp Kotewar
1d5b16aa38
Adding updated package-lock.json for cache
2022-06-01 13:32:34 +00:00
Sankalp Kotewar
197f5a13a9
Adding fix for tar exiting with code 1 issue
2022-06-01 13:18:50 +00:00
Sankalp Kotewar
4ee0048304
Updated RELEASES.md with release information
2022-05-24 06:55:11 +00:00
Sankalp Kotewar
d618dc457e
Added package-lock.json after version upgrade
2022-05-24 05:48:53 +00:00
Sankalp Kotewar
558edc0a3b
Patch version bumped from 2.0.4 to 2.0.5 for cache
2022-05-24 05:45:53 +00:00
Sankalp Kotewar
92b210aced
Test case fix for warning message changes
2022-05-23 12:05:31 +00:00
Sankalp Kotewar
6f6f4e7588
Enhanced warning description to make more sense.
2022-05-23 12:03:18 +00:00
Sankalp Kotewar
10a3934663
Fixed linting issues
2022-05-23 06:49:26 +00:00
Sankalp Kotewar
6421989639
Standardized test case input
2022-05-23 06:39:22 +00:00
Sankalp Kotewar
07b91eafe5
Added unit test case for #624
2022-05-23 06:32:13 +00:00
Sankalp Kotewar
b9fefecf57
Formatting changes
2022-05-23 05:59:56 +00:00
Sankalp Kotewar
9aecf41d21
Updated error type to generic to show warning
2022-05-23 05:39:42 +00:00
Sankalp Kotewar
da52b35800
Adding check for cache paths' existence.
2022-05-22 10:09:13 +00:00
Konrad Pabjan
500d0b42fe
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
82efa3d285
Bump @actions/http-client in all packages that use it ( #1087 )
2022-05-13 10:58:36 -04:00
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
Anurag Chauhan
0b2505c754
Fix error type so that size limit violation is shown as warning
2022-04-07 09:08:16 +00:00
Deepak Dahiya
f8a69bc473
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
03eca1b0c7
Revert "T dedah/cache size" ( #1042 )
2022-04-01 02:10:08 +05:30
Apple
6cd8286138
Resolved comments
2022-04-01 01:41:12 +05:30
Apple
3abbc6c24c
Lint fix
2022-04-01 01:16:43 +05:30
Deepak Dahiya
daa24d7958
Linting
2022-03-31 10:41:54 +00:00
Deepak Dahiya
bda035c74d
cleanup
2022-03-31 09:44:40 +00:00
Deepak Dahiya
79acd5bac4
New Response Type
2022-03-31 09:42:59 +00:00
Apple
b602df7c05
Modified tests
2022-03-30 13:27:36 +05:30
Deepak Dahiya
80a66f3298
package-lock revert
2022-03-30 07:33:48 +00:00
Deepak Dahiya
7756e7c4cb
Cleanup
2022-03-30 07:22:56 +00:00
Deepak Dahiya
6d774fcb59
minor
2022-03-29 22:21:15 +00:00
Deepak Dahiya
f05c940e43
minor
2022-03-29 22:20:22 +00:00
Deepak Dahiya
a71585a450
minor
2022-03-29 22:19:10 +00:00
Deepak Dahiya
76ac2fcd59
Added cacheSize in ReserveCache API request
2022-03-29 22:17:04 +00:00
Shubham Tiwari
b463992869
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 af84eba61e
.
* Update RELEASES.md
Co-authored-by: Brian Cristante <33549821+brcrista@users.noreply.github.com>
2022-03-25 14:40:02 +05:30
Ashwin Sangem
f0a876ab8b
bumped up the @action/cache version.
2022-03-24 11:19:52 +00: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
Jonathan Tamsut
d1abf7dc74
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
475192a0c3
Update `lockfileVersion` in `package-lock.json` in `cache` package ( #1022 )
...
* update versions
* update release notes
2022-03-16 11:25:03 -07:00
vsvipul
4a793fd385
Update RELEASES.md
2022-02-04 14:11:29 +05:30
vsvipul
39a1ec60b2
Bump up patch version
2022-02-01 17:15:42 +05:30
vsvipul
eafa9d39d3
Update ms-rest-js and storage-blog dependencies for cache
2022-02-01 16:24:23 +05:30
Aparna Ravindra
45d2019161
Cache: Increasing client validation to 10GB ( #934 )
...
* increasing client validation limit in cache package to 10gb
2021-11-19 16:34:33 +05:30
Rob Cowsill
4564768940
Delete temporary archive after cache upload ( #792 )
...
This is to avoid filling the SSD while saving multiple large caches
2021-06-28 17:27:09 +02:00
dependabot[bot]
aa29345ae8
Bump ws from 7.2.3 to 7.4.6 ( #823 )
...
Bumps [ws](https://github.com/websockets/ws ) from 7.2.3 to 7.4.6.
- [Release notes](https://github.com/websockets/ws/releases )
- [Commits](https://github.com/websockets/ws/compare/7.2.3...7.4.6 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-01 09:50:25 -04:00
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
dependabot[bot]
1bafbed467
Bump lodash from 4.17.15 to 4.17.21 ( #801 )
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.15 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.21 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-14 14:39:47 -04:00
Minh Nguyen
d972090333
Fix typo in function name ( #590 )
2021-05-03 11:09:44 -04:00
Vikas Kedia
8afb976445
Update README.md ( #531 )
...
more logical to read save cache before restore cache
2021-04-12 10:18:07 -04:00
David Hadka
aad34ab0bc
Update RELEASES.md
2021-04-09 14:23:05 -05:00
Dave Hadka
fac664b5d0
Fix lint issue
2021-04-09 14:16:19 -05:00
Dave Hadka
74236358e6
Update tests
2021-04-09 14:10:36 -05:00
David Hadka
ac7b0e436e
Update package-lock.json
2021-04-09 13:58:53 -05:00
David Hadka
440a06ef56
Update package.json
2021-04-09 13:58:35 -05:00
David Hadka
547a77cf75
Fix permissions issues using gtar on mac
2021-04-09 13:38:55 -05:00
dependabot[bot]
fc00528337
Bump y18n from 4.0.0 to 4.0.1 ( #753 )
...
Bumps [y18n](https://github.com/yargs/y18n ) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases )
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yargs/y18n/commits )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-02 12:41:01 -04:00
Konrad Pabjan
2202465c69
actions/cache 1.0.6 release ( #705 )
2021-02-02 20:48:46 +01:00
Benedek Kozma
ccd1dd298f
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
bfdba95ece
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
Aiqiao Yan
42b3ff04b2
Fix windows cache path
2020-12-10 10:59:04 -05:00
Dave Hadka
5e8657cf12
Bump @actions/cache to 1.0.4
2020-11-03 13:12:34 -06:00
Dave Hadka
678f278caa
Handle non-successful responses from uploadChunk
2020-11-03 09:53:44 -06:00
David Hadka
f1b118b2a9
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
464aebd43b
Update package version and release notes
2020-10-12 13:47:24 -05:00
Dave Hadka
c3c81d44c1
Clean up test code
2020-10-12 13:28:50 -05:00
Thomas Boop
4f7fb6513a
swap to file commands ( #587 )
...
* swap to file commands
* swap to require
2020-09-30 15:46:54 +02:00
Thomas Boop
c2bc747506
Add License.md to all npm packages ( #548 )
...
* Add License.md to all npm packages
2020-08-25 16:26:50 -04:00
Dave Hadka
de52c861c1
Add retry delay
2020-08-17 20:28:35 -05:00
Dave Hadka
1ef26b2390
Handle errors representing non-successful http responses in retry logic
2020-08-17 15:10:51 -05:00
Sora Morimoto
9ad01e4fd3
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
Thomas Boop
ccad19055e
Set main as the default branch ( #527 )
...
* set main as the default branch
* revert change to tool-cache default branch
* use versions where applicable
2020-07-21 11:33:05 -04:00
Dave Hadka
781092b1d1
Fix bug downloading large files with the Azure SDK
2020-07-20 15:36:34 -05:00
Thomas Boop
95a10d23fa
Pipe audit results to a json file so lerna does not overflow ( #515 )
...
* Pipe audit results to a json file so lerna does not overflow
* reorder flags and args
2020-07-14 16:05:53 -04:00
Dave Hadka
c4a92b0b60
Update with reviewer feedback
2020-07-13 16:09:37 -05:00