1
0
mirror of https://github.com/actions/download-artifact.git synced 2026-02-25 21:32:28 +00:00

Bump the version to v8 and add release notes

This commit is contained in:
Daniel Kennedy
2026-02-23 12:31:19 -05:00
parent fbe48b1d27
commit 974686ed50
2 changed files with 14 additions and 6 deletions

View File

@ -23,6 +23,14 @@ See also [upload-artifact](https://github.com/actions/upload-artifact).
- [Limitations](#limitations) - [Limitations](#limitations)
- [Permission Loss](#permission-loss) - [Permission Loss](#permission-loss)
## v8 - What's new
> [!IMPORTANT]
> actions/download-artifact@v8 has been migrated to an ESM module. This should be transparent to the caller but forks might need to make significant changes.
- Downloads will check the content-type returned to determine if a file can be decompressed and skip the decompression stage if so. This removes previous failures where we were trying to decompress a non-zip file. Since this is making a big change to the default behavior, we're making it opt-in via a version bump.
- Users can also download a zip file without decompressing it with the new `skip-decompress` flag.
## v7 - What's new ## v7 - What's new
> [!IMPORTANT] > [!IMPORTANT]
@ -77,7 +85,7 @@ We are taking the following steps to better direct requests related to GitHub Ac
1. We will be directing questions and support requests to our [Community Discussions area](https://github.com/orgs/community/discussions/categories/actions) 1. We will be directing questions and support requests to our [Community Discussions area](https://github.com/orgs/community/discussions/categories/actions)
2. High Priority bugs can be reported through Community Discussions or you can report these to our support team https://support.github.com/contact/bug-report. 2. High Priority bugs can be reported through Community Discussions or you can report these to our support team <https://support.github.com/contact/bug-report>.
3. Security Issues should be handled as per our [security.md](SECURITY.md). 3. Security Issues should be handled as per our [security.md](SECURITY.md).
@ -216,7 +224,7 @@ If the `name` input parameter is not provided, all artifacts will be downloaded.
Example, if there are two artifacts `Artifact-A` and `Artifact-B`, and the directory is `etc/usr/artifacts/`, the directory structure will look like this: Example, if there are two artifacts `Artifact-A` and `Artifact-B`, and the directory is `etc/usr/artifacts/`, the directory structure will look like this:
``` ```bash
etc/usr/artifacts/ etc/usr/artifacts/
Artifact-A/ Artifact-A/
... contents of Artifact-A ... contents of Artifact-A
@ -258,7 +266,7 @@ steps:
Which will result in: Which will result in:
``` ```bash
path/to/artifacts/ path/to/artifacts/
... contents of Artifact-A ... contents of Artifact-A
... contents of Artifact-B ... contents of Artifact-B
@ -298,7 +306,7 @@ jobs:
This results in a directory like so: This results in a directory like so:
``` ```bash
my-artifact/ my-artifact/
file-macos-latest.txt file-macos-latest.txt
file-ubuntu-latest.txt file-ubuntu-latest.txt

View File

@ -1,6 +1,6 @@
{ {
"name": "download-artifact", "name": "download-artifact",
"version": "7.0.0", "version": "8.0.0",
"description": "Download an Actions Artifact from a workflow run", "description": "Download an Actions Artifact from a workflow run",
"type": "module", "type": "module",
"engines": { "engines": {