You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,9 +28,14 @@ See also [upload-artifact](https://github.com/actions/upload-artifact).
28
28
> [!IMPORTANT]
29
29
> 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.
30
30
31
+
> [!IMPORTANT]
32
+
> Hash mismatches will now error by default. Users can override this behavior with a setting change (see below).
33
+
31
34
- 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.
32
35
- Users can also download a zip file without decompressing it with the new `skip-decompress` flag.
33
36
37
+
- Introduces a new parameter `digest-mismatch` that allows callers to specify what to do when the downloaded hash doesn't match the expected hash (`ignore`, `info`, `warn`, `error`). To ensure security by default, the default value is `error`.
38
+
34
39
- Chore: we've bumped versions on a lot of our dev packages to get them up to date with the latest bugfixes/security patches.
0 commit comments