1
0
Fork 0
Commit Graph

37 Commits (d3ad3eeb7f015447f6b9663d1b66995e577776c3)

Author SHA1 Message Date
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
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
Aiqiao Yan 66931ff481
Update cache readme to include a link to cache action (#478)
Co-authored-by: Aiqiao Yan <aiqiaoy@aiqiaos-mbp.attlocal.net>
2020-06-19 14:43:10 -04:00
Thomas Boop 3e40dd39cc
Explicitly exclude DS store files (#492) 2020-06-04 15:14:19 -04:00
Aiqiao Yan 44a99f6c43 Add section for 0.2.1 2020-05-19 16:36:18 -04:00
Aiqiao Yan f84d1a2ae2 Fix a bug with getCompressionMethod 2020-05-19 16:12:28 -04:00
Aiqiao Yan e3a666f5b7 Minor edit to cache release note 2020-05-19 13:20:27 -04:00
Aiqiao Yan 0dea61a3a8 Bump cache package version 2020-05-19 12:59:38 -04:00
Aiqiao Yan fde6221228 React to feedback 2020-05-19 12:38:45 -04:00
Aiqiao Yan 9a3466a094 Fix windows tests 2020-05-19 11:46:50 -04:00
Aiqiao Yan 5112dc231e Only use zstd on windows when gnu tar is installed, otherwise use gzip due to bug #301 2020-05-18 16:35:13 -04:00
Aiqiao Yan 77761a4dc9 Fix issue with using zstd long range mode on ubuntu-16.04 2020-05-18 16:33:15 -04:00
Aiqiao Yan d2b2399bd2 React to feedback 2020-05-15 12:26:42 -04:00
Aiqiao Yan b3c8e19a7a Attempt to fix the test 2020-05-13 13:43:13 -04:00
Aiqiao Yan 1413cd0e32 Add cache upload options and pull from latest actions/cache master 2020-05-12 12:53:45 -04:00
Aiqiao Yan c534ad2cbd Add docs and tests 2020-05-12 12:02:19 -04:00
Aiqiao Yan 15fefd9336 Fix tests 2020-05-12 12:02:18 -04:00
Aiqiao Yan 7409ad5fae Change variable path to a list 2020-05-12 12:02:18 -04:00
Aiqiao Yan 932779cf58 Initial commit to create @actions/cache package 2020-05-12 12:02:18 -04:00