Commit Graph

1416 Commits

Author SHA1 Message Date
Rob Herley
befa19f3a8 initalize artifact client as default export 2023-12-06 04:00:07 +00:00
Rob Herley
e27efe5620 readme & error updates 2023-12-05 21:55:22 +00:00
Rob Herley
449b28aee2 update contributing docs 2023-12-05 21:10:48 +00:00
Rob Herley
04945c6048 Merge pull request #1593 from actions/robherley/api-consistency
Consistent error behavior for Artifact methods
2023-12-05 15:22:16 -05:00
Rob Herley
5f152b798e Update artifact-tests.yml 2023-12-05 13:54:14 -05:00
Rob Herley
c390199be6 Update artifact-tests.yml 2023-12-05 13:51:51 -05:00
Rob Herley
a3053b5cc2 fix typo 2023-12-05 18:47:37 +00:00
Rob Herley
b9872153b8 update GHES warning behavior 2023-12-05 18:42:36 +00:00
Rob Herley
ce9eae0785 consistent promise behavior for download artifact 2023-12-05 18:35:26 +00:00
Rob Herley
d3c5f358d1 consistent promise behavior for get artifact 2023-12-05 17:56:18 +00:00
Rob Herley
75a3586061 consistent promise behavior for upload artifact 2023-12-05 17:35:46 +00:00
Rob Herley
8ac8bf1d3d Merge pull request #1592 from actions/robherley/get-list-artifact-updates
Additional get/list artifact updates
2023-12-04 12:40:59 -05:00
Rob Herley
141b3509e4 update import 2023-12-03 21:13:55 +00:00
Rob Herley
790e6f7194 more docs 2023-12-03 20:52:36 +00:00
Rob Herley
ef454f0991 add tests for list-artifacts 2023-12-03 20:48:33 +00:00
Rob Herley
86ce0b159a get artifact tests 2023-12-03 19:43:37 +00:00
Rob Herley
c11a7cdeac wip 2023-12-03 06:24:49 +00:00
Rob Herley
c94ca49c9c ability to filter artifacts by latest 2023-12-03 05:01:20 +00:00
Rob Herley
fa7657714a fix import 2023-12-02 21:34:07 -05:00
Rob Herley
c1f9d37323 updates to get/list artifacts 2023-12-02 21:18:22 -05:00
Rob Herley
8f1c589e25 Merge pull request #1591 from actions/robherley/artifact-internal-apis
Implement internal APIs for list/get/download artifacts
2023-12-01 16:17:26 -05:00
Rob Herley
281697ecbe fix test expectations 2023-12-01 16:34:27 +00:00
Rob Herley
a59f976dd4 minor fixes 2023-12-01 09:05:46 -05:00
Rob Herley
57db7a6302 more debug info 2023-12-01 03:04:10 +00:00
Rob Herley
4789a46578 make FindOptions interface more user friendly 2023-12-01 02:15:25 +00:00
Rob Herley
32549e8197 update download-artifact tests for public and internal impl 2023-12-01 01:32:45 +00:00
Rob Herley
22b7aeb707 some test updates 2023-12-01 00:31:27 +00:00
Rob Herley
e9d6649a14 consume new pb wrappers 2023-11-30 19:10:07 +00:00
Rob Herley
695bf98f84 rewrite artifacts client to have public and internal implementations 2023-11-30 03:47:04 +00:00
Tingluo Huang
0787a93181 Merge pull request #1588 from sshmaxime/main
Add RUN_ATTEMPT to `@actions/github` Context class
2023-11-28 10:43:43 -05:00
Maxime Aubanel
faa425440f Add RUN_ATTEMPT to Github context 2023-11-28 16:32:10 +01:00
Rob Herley
0407266511 Merge pull request #1584 from actions/robherley/upload-v4-improvements
Increase Artifact v4 upload speed
2023-11-20 16:30:50 -05:00
Rob Herley
a920781ca9 fix results url construction 2023-11-20 18:06:44 +00:00
Rob Herley
9e7201ff5b audit fix 2023-11-20 16:51:13 +00:00
Rob Herley
3a610e848c linter 2023-11-20 16:46:08 +00:00
Rob Herley
606ebdcf6d extra log line for debug 2023-11-20 16:27:35 +00:00
Rob Herley
7b01731091 increase upload concurrency based on cpus, adjust highWaterMark, specify compression level 2023-11-20 15:03:58 +00:00
Nikolai Laevskii
20f826bfe7 Add platform info utilities to @actions/core (#1551)
* Introduce platform utilities into @actions/core

* Add tests for the platform helper

* Update README.md

* Update README.md with more details
2023-11-14 14:15:26 -05:00
Rob Herley
fe3e7ce9a7 Merge pull request #1563 from actions/robherley/artifact-v4/sha256
Use sha256 instead of md5 for artifact v4 integrity hash
2023-10-16 13:31:00 -04:00
Rob Herley
8cd02dfabc audit fix 2023-10-16 16:27:26 +00:00
Rob Herley
82474125c8 use sha256 instead of md5 for artifact v4 integrity hash 2023-10-16 16:20:24 +00:00
Tatyana Kostromskaya
494f12bcd9 Update dependencies in github package (#1553)
* Update octokit package

* define type for function

* fix linter

* Update github package to latest

* Update RELEASES.md
2023-10-10 16:04:42 +02:00
Tatyana Kostromskaya
797f48fcfa Update release notes for http-client@2.2.0 (#1549) 2023-10-06 16:03:00 +02:00
Tatyana Kostromskaya
c8d1588732 Merge pull request #1547 from actions/takost/update-http-client
Add function to return proxy agent dispatcher for compatibility with latest `octokit` packages
2023-10-06 14:47:16 +02:00
Tatyana Kostromskaya
13e0ce9cf7 resolve comments 2023-10-06 12:39:29 +00:00
Tatyana Kostromskaya
eae1b66cb0 fix audit 2023-10-05 16:41:02 +02:00
Tatyana Kostromskaya
129f884271 fix format 2023-10-05 16:34:31 +02:00
Tatyana Kostromskaya
0faced6a0b Add function to return proxy agent dispatcher for compatibility with latest octokit 2023-10-05 16:20:26 +02:00
Patrick Ellis
0d63834474 Merge pull request #1541 from actions/pje/upgrade-codeql-actions-to-v2
Upgrade codeql actions to v2
2023-09-27 16:14:48 -04:00
Patrick Ellis
8f032d304a Upgrade codeql actions to v2
Currently we're using v1, and there have been some important changes since then.

In particular, the latest version, v2.14.6, contains an important security patch:

> The CodeQL CLI no longer supports the `SEMMLE_JAVA_ARGS` environment variable. All previous versions of the CodeQL CLI perform command substitution on the `SEMMLE_JAVA_ARGS` value (for example, replacing `'$(echo foo)'` with `'foo'`) when starting a new Java virtual machine, which, depending on the execution environment, may have security implications. Users are advised to check their environments for possible `SEMMLE_JAVA_ARGS` misuse.

See the [codeql-cli-binaries release notes](https://github.com/github/codeql-cli-binaries/releases/tag/v2.14.4) for full details.
2023-09-27 15:18:59 -04:00