Commit Graph
23 Commits
Author SHA1 Message Date
Yang Cao e5151db2fc Merge pull request #1963 from actions/yacaovsnc/release_2_2_2
Prepare artifact release 2.2.2
2025-02-20 16:29:30 -05:00
Yang Cao 4a943960e9 Update package-lock.json 2025-02-20 21:20:28 +00:00
Yang Cao d2375037ee Prepare artifact release 2.2.2 2025-02-20 21:12:25 +00:00
Yang Cao dc8e4ee65f Merge pull request #1962 from actions/yacaovsnc/set_default_concurrency_to_5
Default upload artifacts concurrency to 5
2025-02-20 13:56:30 -05:00
Yang Cao 10daf55e23 Default upload artifacts concurrency to 5 2025-02-20 17:03:29 +00:00
Yang Cao 8a61212318 Merge pull request #1929 from actions/yacaovsnc/release_artifact_2_2_1
Prep release packages/artifact v2.2.1
2025-01-09 09:21:32 -05:00
Yang Cao 9648a10b0e Prep release packages/artifact v2.2.1 2025-01-08 21:11:59 +00:00
Yang Cao a3b3969e4f Merge pull request #1928 from actions/yacaovsnc/artifact_upload_concurrency_and_timeout
Make both upload concurrency and timeout settings configurable with env variables.
2025-01-08 16:07:30 -05:00
Yang Cao 254e08bbb5 Rename the prefix to be more specific 2025-01-08 20:32:45 +00:00
Yang Cao 11b17a3847 Concurrency has a min of 1 2025-01-08 18:14:04 +00:00
Yang Cao f001ee669d Make concurrency change opt-in, but can only go lower 2025-01-08 18:11:38 +00:00
Yang Cao 335ec19f38 Set default concurrency to 10 and make timeout configurable 2025-01-08 16:19:09 +00:00
Yang CaoandChris Sidi 6f33e4c7b0 Close destination steam before reject
Co-authored-by: Chris Sidi <hashtagchris@github.com>
2020-12-04 11:03:17 -05:00
Yang Cao 2c4f1a3166 style change, refactor arg sequence 2020-12-04 09:41:00 -05:00
Yang Cao 2b5da11156 pipeResponseToFile already throws when reading truncated stream 2020-12-04 09:19:58 -05:00
Yang Cao 760a39afb9 Try close stream before unlink 2020-12-03 13:34:59 -05:00
Yang Cao bd9c0f996d Always print skip validation log 2020-12-03 13:09:43 -05:00
Yang Cao 1e10fa415c Add some debugging statements 2020-12-03 12:40:37 -05:00
Yang Cao 09e68f92cd More styling fix 2020-12-03 10:57:04 -05:00
Yang Cao 8f05cccf8e Fix styling 2020-12-03 10:33:10 -05:00
Yang Cao 9d3d4bec1b Adding retry when we received 200
If we received 200, we will attempt to download the stream. If the
stream is gzipped, gzip should throw an error when trying to decompress
the stream; or if the stream is truncated, the received bytes should be
different from the value set in content-length header.
2020-12-03 10:15:12 -05:00
Yang Cao 53a6f99290 Release preparation of artifact 0.4.0 (#578) 2020-09-18 19:06:53 +02:00
Yang CaoandKonrad Pabjan da436eaab9 Add an option to specify retention days for artifacts (#575)
* Add an option to specify retention days for artifacts

* Validate against settings exposed as env var to give early feedback

* Fix lint

* Add tests and addressing feedback

* Update packages/artifact/__tests__/upload.test.ts

Co-authored-by: Konrad Pabjan <konradpabjan@github.com>

* Update packages/artifact/README.md

Co-authored-by: Konrad Pabjan <konradpabjan@github.com>

* Update packages/artifact/src/internal/utils.ts

Co-authored-by: Konrad Pabjan <konradpabjan@github.com>

* Update packages/artifact/__tests__/util.test.ts

Co-authored-by: Konrad Pabjan <konradpabjan@github.com>

Co-authored-by: Konrad Pabjan <konradpabjan@github.com>
2020-09-18 11:30:00 -04:00