Commit Graph
63 Commits
Author SHA1 Message Date
Daniel Kennedy 9ed79d8596 Artifact: support downloading artifacts with CJK characters in their name (#2341)
* Artifact: support downloading artifacts with CJK characters in their name

* Fix some linting/PR comments

* One more linting fix
2026-03-11 09:30:15 -04:00
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 KennedyandCopilot 471c2154b5 Artifact download: don't unzip non-zip artifacts (#2253)
* Download artifact: don't extract the downloaded file if the content-type isn't a zip

* Remove unused `import`

* Add support for specifying whether to skip decompressing

* Prevent path traversal attacks

* Fix indenting

* Update packages/artifact/__tests__/download-artifact.test.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Parse the mime type out of the content-type header

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Fix some linting issues

* Swap `zip` for `application/zip-compressed`

* Test: negative check for malicious paths

* Increase the timeout on one of the tests

* Check the URL path for `.zip` to see if we can auto-decompress

* Fix linting issue

* Bump the package version and add release notes

* Remove `launch.json`

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-30 12:18: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
Daniel Kennedy 1b79e49863 Bump @actions/http-client and @actions/github on all packages 2026-01-27 13:31:31 -05:00
Salman Muin Kayser Chishti e26daf5184 docs: add PR reference to artifact v5.0.1 release notes 2025-12-12 15:33:41 +00:00
Salman Muin Kayser Chishti 4548c91489 docs(artifact): bump to v5.0.1 and add release notes 2025-12-12 13:40:07 +00:00
Salman Muin Kayser Chishti be6dbbc5ae docs(artifact): add v5.0.0 release notes 2025-12-11 20:37:18 +00:00
Daniel Kennedy b41153ff68 Artifact: prepare 4.0.0 2025-10-24 13:28:26 -04:00
Ryan Ghadimi d509a46b27 release prep 2025-05-08 08:53:55 +00:00
Abhijeet Prasad 1ecbafe3e6 fix link in @actions/artifact RELEASES.md 2025-03-26 11:22:14 -04:00
Salman Chishti 705c3cb65b Use patch instead of minor 2025-03-17 14:08:42 +00:00
Salman Chishti 57afba613a shared instead of secure 2025-03-17 12:48:56 +00:00
Salman Chishti ccc2e54afb change it to minor version instead of patch 2025-03-17 12:44:51 +00:00
Salman Chishti 4419dc5749 update versions for cache and artifact 2025-03-17 12:09:16 +00:00
Ryan Ghadimi c1d0d5dae4 Bump release version 2025-03-11 10:58:38 +00:00
Ryan Ghadimi 3b48b9ee87 Update RELEASES.md for version 2.3.0 2025-03-10 15:11:43 +00:00
Ryan Ghadimi cb739e556a Prepare for Artifact v2.2.3 release 2025-03-07 10:14:36 +00:00
Yang Cao d2375037ee Prepare artifact release 2.2.2 2025-02-20 21:12:25 +00:00
Yang Cao 9648a10b0e Prep release packages/artifact v2.2.1 2025-01-08 21:11:59 +00:00
Brian DeHamer aea8a909c1 Prepare artifact release 2.2.0
Signed-off-by: Brian DeHamer <bdehamer@github.com>
2024-12-17 10:05:45 -08:00
Rob Herley 9b0c7bc7ff Update artifact release notes
Includes:
- #1815
2024-10-08 14:06:04 -04:00
Rob Herley c2a46eec9e Update symlink bug fix reference number 2024-10-08 13:02:06 -04:00
Rob Herley 0e9da186e3 properly resolve relative symlinks 2024-10-08 12:35:48 -04:00
Rob Herley 362beecc04 update release notes 2024-09-20 17:31:40 -04:00
Rob Herley dc351c35a6 fix regression, auto readlink on symlinks again 2024-09-20 17:23:43 -04:00
Rob Herley 71392d0eb2 prep for @actions/artifact v2.1.9 2024-07-31 10:05:34 -04:00
Rob Herley 8c7a920210 allow localhost hostnames for artifact checks 2024-07-03 16:55:53 +00:00
bethanyj28 2b41bccf5b bump version 2024-04-23 16:03:52 -04:00
Rob Herley f026416dad bump pkg version + release notes 2024-04-19 15:08:30 +00:00
bethanyj28 90aeaf249b bump version 2024-03-01 13:04:16 -05:00
Bethany ddfa4149c6 Update RELEASES.md 2024-02-29 10:41:57 -05:00
Bethany f7506711e1 flip releases order 2024-02-28 10:35:01 -05:00
bethanyj28 60b28667c0 bump version 2024-02-23 15:03:09 -05:00
eggyhead 8de75460be updating artifact version and release to include ghes check change 2024-01-31 21:15:11 +00:00
Rob Herley 3a682fa40a update releases.md 2024-01-18 11:07:25 -05:00
Rob Herley e3b46bd83a generate docs + update releases 2024-01-18 09:51:01 -05:00
Vallie Joseph 2b2c63f059 updating release notes (#1620) 2024-01-10 10:43:38 -05:00
Rob Herley c15e3f5a6e pr feedback 2023-12-06 17:28:03 +00:00
Rob Herley 13605c996c releases.md: link to breaking v2 changes 2023-12-06 14:52:49 +00:00
Rob Herley 960e149e11 add faq, update releases 2023-12-06 04:22:18 +00:00
Ferenc Hammerl 20344f465a Release notes for 1.1.1 2023-01-03 15:19:16 +01:00
Rob Herley c78de69b3a @actions/artifact 1.1.0 release 2022-05-19 18:17:15 +00:00
Konrad Pabjan 2891a77c38 Bump all packages that have @actions/http-client as a dependency (#1088)
* bump @actions/artifact

* update @actions/cache

* Update @actions/core

* Update @actions/github

* update @actions/tool-cache
2022-05-13 11:12:58 -04:00
Brian Cristante 547ff5737a Update other packages to use http-client v2 (#1082)
We moved `@actions/http-client` to be part of the toolkit in https://github.com/actions/toolkit/pull/1062.  We also made some breaking changes to exported types and released v2.

The biggest change in terms of lines of code affected was to get rid of the `I-` prefix for interfaces since TypeScript doesn't follow this convention.

I bumped the patch version of all packages except for `tool-cache`, where I bumped the major version.  The rationale is explained in the release notes for that package.
2022-05-11 17:14:25 -04:00
Jonathan Tamsut 5e09e33d74 Bump major version 2022-03-01 12:36:05 -08:00
Konrad Pabjan a84553182e 0.6.1 release (#964) 2021-12-14 16:01:55 -05:00
Konrad Pabjan 455aabdd18 [Artifacts] Prep for @actions/artifact 0.6.0 release (#958)
* actions-artifact-0.6.0 release

* Fix lint issue

* Update RELEASES.md
2021-12-06 18:39:23 -05:00
Brian Cristante 88cfcccd96 Bump artifact package version to v0.5.2 (#845)
* bump version in package*.json

* changelog
2021-06-16 09:37:06 -04:00
Konrad Pabjan 2259e57a71 @actions/artifact 0.5.1 release (#760)
* Bump @actions/http-client to latest for artifact package

* Remove typescript libs to fix failing imports
2021-04-06 12:44:56 -04:00