Commit Graph
124 Commits
Author SHA1 Message Date
Rob Herley f34a01591a better error message for usage limits 2023-12-11 22:01:08 -05:00
Rob Herley a7f5604d2c Add specific messages for network-specific node error codes 2023-12-11 17:07:48 -05:00
Rob Herley 5f6b7fdbd0 replace unzipper with unzip-stream 2023-12-11 12:15:40 -05:00
Vallie Joseph 8e374f0c15 Improve error messages (duplicate artifacts; too many artifacts) (#1600)
* cleaning up error messages

* updating package-json

* updating package-lock

* .

* .

* testing return message

* updating error check

* adding test

* rmv unused var

* updating status code to match conflict message
2023-12-11 11:26:54 -05:00
Jonathan Tamsut 2c8a94cbfc Add back 429 to list of retryable requests (#1599)
* add back 429 to list of retryable requests

* fix lint error
2023-12-08 11:00:44 -08:00
Jonathan Tamsut c9d4ee0f27 Remove 429 request from list of retry-able status codes (#1597)
* remove 429 request from retryable

* remove 413

* make linter happy
2023-12-07 13:22:17 -08:00
Rob Herley 469fb7f7c6 Generate Typescript Docs for @actions/artifact (#1595)
* autogenerate artifact documentation

* clean up comments for better autogen docs
2023-12-07 09:57:20 -08:00
Rob Herley b9abfc4e24 linter 2023-12-06 23:57:33 +00:00
Rob Herley e4829bd6e1 one too many parses 2023-12-06 23:51:16 +00:00
Rob Herley 0e2ab5dc2f cleanup artifact handlers hanging node process 2023-12-06 23:42:07 +00:00
Rob Herley e1314b246d initalize artifact client as default export 2023-12-06 04:00:07 +00:00
Rob Herley f3097c8cb4 readme & error updates 2023-12-05 21:55:22 +00:00
Rob Herley 59de958dda fix typo 2023-12-05 18:47:37 +00:00
Rob Herley 82f54b0aa5 update GHES warning behavior 2023-12-05 18:42:36 +00:00
Rob Herley 1bd4136583 consistent promise behavior for download artifact 2023-12-05 18:35:26 +00:00
Rob Herley 1f6311c296 consistent promise behavior for get artifact 2023-12-05 17:56:18 +00:00
Rob Herley d61f5a8209 consistent promise behavior for upload artifact 2023-12-05 17:35:46 +00:00
Rob Herley 405e4986f3 update import 2023-12-03 21:13:55 +00:00
Rob Herley 4ff1d57df8 more docs 2023-12-03 20:52:36 +00:00
Rob Herley 76929666f6 wip 2023-12-03 06:24:49 +00:00
Rob Herley e23dba60e4 ability to filter artifacts by latest 2023-12-03 05:01:20 +00:00
Rob Herley e4b17b09e3 fix import 2023-12-02 21:34:07 -05:00
Rob Herley 4286ccb138 updates to get/list artifacts 2023-12-02 21:18:22 -05:00
Rob Herley 1a06ea73d3 minor fixes 2023-12-01 09:05:46 -05:00
Rob Herley fc051fc5d6 more debug info 2023-12-01 03:04:10 +00:00
Rob Herley 3a5b84efa6 make FindOptions interface more user friendly 2023-12-01 02:15:25 +00:00
Rob Herley c6e89b42bc some test updates 2023-12-01 00:31:27 +00:00
Rob Herley 4c5cc54661 consume new pb wrappers 2023-11-30 19:10:07 +00:00
Rob Herley 87a7c03510 rewrite artifacts client to have public and internal implementations 2023-11-30 03:47:04 +00:00
Rob Herley 8262f2cbe7 fix results url construction 2023-11-20 18:06:44 +00:00
Rob Herley 420a520de3 linter 2023-11-20 16:46:08 +00:00
Rob Herley a7a0bf3883 extra log line for debug 2023-11-20 16:27:35 +00:00
Rob Herley 1b6320e1d0 increase upload concurrency based on cpus, adjust highWaterMark, specify compression level 2023-11-20 15:03:58 +00:00
Rob Herley 2f7185e2cc use sha256 instead of md5 for artifact v4 integrity hash 2023-10-16 16:20:24 +00:00
Tatyana Kostromskaya 164ac05065 Update dependencies 2023-09-08 14:29:27 +00:00
Rob Herley d89027a67a add tests for download artifact 2023-08-23 23:18:03 -04:00
Bethany bf39487f15 include get artifact changes 2023-08-23 10:40:25 -07:00
Bethany c59b53ff16 move constants to retry-options 2023-08-23 10:36:33 -07:00
Bethany 51b7d6a651 use inline eslint disable 2023-08-23 10:12:06 -07:00
Bethany 99502be3f4 use string interpolation 2023-08-23 07:35:23 -07:00
Bethany 7188d5f703 lint 2023-08-23 07:28:17 -07:00
Bethany 68fb6c17d5 remove folder option in favor of path 2023-08-23 07:21:01 -07:00
Bethany d0cf96f319 Use options to specify download folder 2023-08-23 06:47:51 -07:00
Bethany 69e1f6f7c0 prettier 2023-08-22 11:47:14 -07:00
Bethany e7ddf2aea8 use GITHUB_WORKSPACE as default download dir 2023-08-22 11:44:38 -07:00
Bethany 7262d472fe use require 2023-08-22 11:33:00 -07:00
Bethany cbe3f44b01 lint 2023-08-22 10:06:40 -07:00
Bethany af762e2836 update dependencies and prettier 2023-08-22 09:57:14 -07:00
Bethany 1fb743dadf add get-artifact logic 2023-08-22 09:17:43 -07:00
Rob Herley d27eb4002d cleanup 2023-08-21 17:47:17 -04:00