25 Commits
Author SHA1 Message Date
Daniel Kennedy 2b2de3eaff Artifact upload: support uploading single un-zipped files (#2256)
* Artifact upload: support uploading single un-zipped files

* Fix linters

* Fix lint again

* Fix tests

* Check for 0 sized artifact lists

* Add some more stream tests and handle an upload failure gracefully

* Add CI tests for non-zipped artifacts

* Add an html report to test rendering in the browser

* Fix linting issue

* Artifact: bump the version and add release notes

* Fix Windows tests

* Fix linting

* stream: switch the error details to error type

* Refactor the validation logic in `uploadArtifact` a bit

* Added more details about how the name parameter is handled
2026-02-25 11:01:38 -05:00
Daniel Kennedy 0df0288961 @actions/artifact: convert to an ESM module (#2266)
* `@actions/artifact`: convert to an ESM module

* Update the package-lock.json

* Undo the GHES ignores

* Fix the reference to `@actions/http-client` in the lock file

* Bump `@actions/core` to `3.0.0`

* Remove `jest.config.cjs`

* Import `OctoKitOptions` from `@octokit/core/types`

* Pull the package version from `package.json`

* Workaround getting the package version for the user-agent

* Fix the `archiver` import

* Fix linting
2026-01-29 09:52:09 -05:00
Salman Muin Kayser Chishti 11c03e66c9 Update test to use mock 2025-08-06 12:49:50 +01:00
Brian DeHamer a1ba4fd935 return artifact digest on upload
Signed-off-by: Brian DeHamer <bdehamer@github.com>
2024-12-06 14:27:46 -08:00
Rob Herley 0e9da186e3 properly resolve relative symlinks 2024-10-08 12:35:48 -04:00
Rob Herley dc351c35a6 fix regression, auto readlink on symlinks again 2024-09-20 17:23:43 -04:00
Rob Herley 27951a351a fix chunk timeout + update tests 2024-07-23 21:57:39 -04:00
Vallie Joseph a7091c8dad replacing writeFile with writeFileSync 2024-04-15 16:57:28 +00:00
Vallie Joseph 318640778e replacing writeFile with writeFileSync 2024-04-15 16:51:30 +00:00
Vallie Joseph 8d1ee1b614 correcting imports 2024-04-15 16:49:47 +00:00
Vallie Joseph aa47e72426 cleaning up tests 2024-04-15 16:32:31 +00:00
Vallie Joseph be66121509 . 2024-04-15 15:24:57 +00:00
Vallie Joseph 598f9f4b84 replacing timeout 2024-04-09 20:51:12 +00:00
Vallie Joseph b6ba78eb47 updating timeout 2024-04-09 19:24:52 +00:00
Vallie Joseph e455efe4f9 . 2024-04-09 19:01:54 +00:00
Vallie Joseph e856ad08b8 updating test 2024-04-09 18:52:19 +00:00
Vallie Joseph a9276099d3 updating tests 2024-04-09 18:21:41 +00:00
Vallie Joseph ae1355a62d upgrading archiver package along with chunk timeout 2024-04-09 18:02:48 +00:00
Rob Herley d61f5a8209 consistent promise behavior for upload artifact 2023-12-05 17:35:46 +00:00
Rob Herley 22d9c85575 update download-artifact tests for public and internal impl 2023-12-01 01:32:45 +00:00
Rob Herley c6e89b42bc some test updates 2023-12-01 00:31:27 +00:00
Rob Herley 2f7185e2cc use sha256 instead of md5 for artifact v4 integrity hash 2023-10-16 16:20:24 +00:00
Bethany d6f626ac82 merge download changes and lint 2023-08-23 14:02:50 -07:00
Bethany 2ad20d296b prettier 2023-08-23 13:55:26 -07:00
Bethany 6f3bf8e045 add tests for upload 2023-08-23 13:54:31 -07:00