Commit cfcde41
authored
chore(deps): update github artifact actions (major) (#360)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
|
[actions/download-artifact](https://redirect.github.com/actions/download-artifact)
| action | major | `v5` → `v8` |
|
[actions/upload-artifact](https://redirect.github.com/actions/upload-artifact)
| action | major | `v4` → `v7` |
---
### Release Notes
<details>
<summary>actions/download-artifact (actions/download-artifact)</summary>
###
[`v8.0.1`](https://redirect.github.com/actions/download-artifact/releases/tag/v8.0.1)
[Compare
Source](https://redirect.github.com/actions/download-artifact/compare/v8...v8.0.1)
#### What's Changed
- Support for CJK characters in the artifact name by
[@​danwkennedy](https://redirect.github.com/danwkennedy) in
[#​471](https://redirect.github.com/actions/download-artifact/pull/471)
- Add a regression test for artifact name + content-type mismatches by
[@​danwkennedy](https://redirect.github.com/danwkennedy) in
[#​472](https://redirect.github.com/actions/download-artifact/pull/472)
**Full Changelog**:
<actions/download-artifact@v8...v8.0.1>
###
[`v8.0.0`](https://redirect.github.com/actions/download-artifact/releases/tag/v8.0.0)
[Compare
Source](https://redirect.github.com/actions/download-artifact/compare/v8...v8)
#### 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.
> \[!IMPORTANT]
> Hash mismatches will now error by default. Users can override this
behavior with a setting change (see below).
##### Direct downloads
To support direct uploads in `actions/upload-artifact`, the action will
no longer attempt to unzip all downloaded files. Instead, the action
checks the `Content-Type` header ahead of unzipping and skips non-zipped
files. Callers wishing to download a zipped file as-is can also set the
new `skip-decompress` parameter to `true`.
##### Enforced checks (breaking)
A previous release introduced digest checks on the download. If a
download hash didn't match the expected hash from the server, the action
would log a warning. Callers can now configure the behavior on mismatch
with the `digest-mismatch` parameter. To be secure by default, we are
now defaulting the behavior to `error` which will fail the workflow run.
##### ESM
To support new versions of the @​actions/\* packages, we've
upgraded the package to ESM.
#### What's Changed
- Don't attempt to un-zip non-zipped downloads by
[@​danwkennedy](https://redirect.github.com/danwkennedy) in
[#​460](https://redirect.github.com/actions/download-artifact/pull/460)
- Add a setting to specify what to do on hash mismatch and default it to
`error` by
[@​danwkennedy](https://redirect.github.com/danwkennedy) in
[#​461](https://redirect.github.com/actions/download-artifact/pull/461)
**Full Changelog**:
<actions/download-artifact@v7...v8.0.0>
###
[`v8`](https://redirect.github.com/actions/download-artifact/compare/v7.0.0...v8)
[Compare
Source](https://redirect.github.com/actions/download-artifact/compare/v7.0.0...v8)
###
[`v7.0.0`](https://redirect.github.com/actions/download-artifact/releases/tag/v7.0.0)
[Compare
Source](https://redirect.github.com/actions/download-artifact/compare/v7.0.0...v7.0.0)
#### v7 - What's new
> \[!IMPORTANT]
> actions/download-artifact\@​v7 now runs on Node.js 24
(`runs.using: node24`) and requires a minimum Actions Runner version of
2.327.1. If you are using self-hosted runners, ensure they are updated
before upgrading.
##### Node.js 24
This release updates the runtime to Node.js 24. v6 had preliminary
support for Node 24, however this action was by default still running on
Node.js 20. Now this action by default will run on Node.js 24.
#### What's Changed
- Update GHES guidance to include reference to Node 20 version by
[@​patrikpolyak](https://redirect.github.com/patrikpolyak) in
[#​440](https://redirect.github.com/actions/download-artifact/pull/440)
- Download Artifact Node24 support by
[@​salmanmkc](https://redirect.github.com/salmanmkc) in
[#​415](https://redirect.github.com/actions/download-artifact/pull/415)
- fix: update
[@​actions/artifact](https://redirect.github.com/actions/artifact)
to fix Node.js 24 punycode deprecation by
[@​salmanmkc](https://redirect.github.com/salmanmkc) in
[#​451](https://redirect.github.com/actions/download-artifact/pull/451)
- prepare release v7.0.0 for Node.js 24 support by
[@​salmanmkc](https://redirect.github.com/salmanmkc) in
[#​452](https://redirect.github.com/actions/download-artifact/pull/452)
#### New Contributors
- [@​patrikpolyak](https://redirect.github.com/patrikpolyak) made
their first contribution in
[#​440](https://redirect.github.com/actions/download-artifact/pull/440)
- [@​salmanmkc](https://redirect.github.com/salmanmkc) made their
first contribution in
[#​415](https://redirect.github.com/actions/download-artifact/pull/415)
**Full Changelog**:
<actions/download-artifact@v6.0.0...v7.0.0>
###
[`v7`](https://redirect.github.com/actions/download-artifact/compare/v6.0.0...v7.0.0)
[Compare
Source](https://redirect.github.com/actions/download-artifact/compare/v6.0.0...v7.0.0)
###
[`v6.0.0`](https://redirect.github.com/actions/download-artifact/releases/tag/v6.0.0)
[Compare
Source](https://redirect.github.com/actions/download-artifact/compare/v6.0.0...v6.0.0)
#### What's Changed
**BREAKING CHANGE:** this update supports Node `v24.x`. This is not a
breaking change per-se but we're treating it as such.
- Update README for download-artifact v5 changes by
[@​yacaovsnc](https://redirect.github.com/yacaovsnc) in
[#​417](https://redirect.github.com/actions/download-artifact/pull/417)
- Update README with artifact extraction details by
[@​yacaovsnc](https://redirect.github.com/yacaovsnc) in
[#​424](https://redirect.github.com/actions/download-artifact/pull/424)
- Readme: spell out the first use of GHES by
[@​danwkennedy](https://redirect.github.com/danwkennedy) in
[#​431](https://redirect.github.com/actions/download-artifact/pull/431)
- Bump `@actions/artifact` to `v4.0.0`
- Prepare `v6.0.0` by
[@​danwkennedy](https://redirect.github.com/danwkennedy) in
[#​438](https://redirect.github.com/actions/download-artifact/pull/438)
#### New Contributors
- [@​danwkennedy](https://redirect.github.com/danwkennedy) made
their first contribution in
[#​431](https://redirect.github.com/actions/download-artifact/pull/431)
**Full Changelog**:
<actions/download-artifact@v5...v6.0.0>
###
[`v6`](https://redirect.github.com/actions/download-artifact/compare/v5.0.0...v6.0.0)
[Compare
Source](https://redirect.github.com/actions/download-artifact/compare/v5.0.0...v6.0.0)
</details>
<details>
<summary>actions/upload-artifact (actions/upload-artifact)</summary>
###
[`v7.0.1`](https://redirect.github.com/actions/upload-artifact/releases/tag/v7.0.1)
[Compare
Source](https://redirect.github.com/actions/upload-artifact/compare/v7...v7.0.1)
#### What's Changed
- Update the readme with direct upload details by
[@​danwkennedy](https://redirect.github.com/danwkennedy) in
[#​795](https://redirect.github.com/actions/upload-artifact/pull/795)
- Readme: bump all the example versions to v7 by
[@​danwkennedy](https://redirect.github.com/danwkennedy) in
[#​796](https://redirect.github.com/actions/upload-artifact/pull/796)
- Include changes in typespec/ts-http-runtime 0.3.5 by
[@​yacaovsnc](https://redirect.github.com/yacaovsnc) in
[#​797](https://redirect.github.com/actions/upload-artifact/pull/797)
**Full Changelog**:
<actions/upload-artifact@v7...v7.0.1>
###
[`v7.0.0`](https://redirect.github.com/actions/upload-artifact/releases/tag/v7.0.0)
[Compare
Source](https://redirect.github.com/actions/upload-artifact/compare/v7...v7)
#### v7 What's new
##### Direct Uploads
Adds support for uploading single files directly (unzipped). Callers can
set the new `archive` parameter to `false` to skip zipping the file
during upload. Right now, we only support single files. The action will
fail if the glob passed resolves to multiple files. The `name` parameter
is also ignored with this setting. Instead, the name of the artifact
will be the name of the uploaded file.
##### ESM
To support new versions of the `@actions/*` packages, we've upgraded the
package to ESM.
#### What's Changed
- Add proxy integration test by
[@​Link-](https://redirect.github.com/Link-) in
[#​754](https://redirect.github.com/actions/upload-artifact/pull/754)
- Upgrade the module to ESM and bump dependencies by
[@​danwkennedy](https://redirect.github.com/danwkennedy) in
[#​762](https://redirect.github.com/actions/upload-artifact/pull/762)
- Support direct file uploads by
[@​danwkennedy](https://redirect.github.com/danwkennedy) in
[#​764](https://redirect.github.com/actions/upload-artifact/pull/764)
#### New Contributors
- [@​Link-](https://redirect.github.com/Link-) made their first
contribution in
[#​754](https://redirect.github.com/actions/upload-artifact/pull/754)
**Full Changelog**:
<actions/upload-artifact@v6...v7.0.0>
###
[`v7`](https://redirect.github.com/actions/upload-artifact/compare/v6.0.0...v7)
[Compare
Source](https://redirect.github.com/actions/upload-artifact/compare/v6.0.0...v7)
###
[`v6.0.0`](https://redirect.github.com/actions/upload-artifact/releases/tag/v6.0.0)
[Compare
Source](https://redirect.github.com/actions/upload-artifact/compare/v6.0.0...v6.0.0)
#### v6 - What's new
> \[!IMPORTANT]
> actions/upload-artifact\@​v6 now runs on Node.js 24
(`runs.using: node24`) and requires a minimum Actions Runner version of
2.327.1. If you are using self-hosted runners, ensure they are updated
before upgrading.
##### Node.js 24
This release updates the runtime to Node.js 24. v5 had preliminary
support for Node.js 24, however this action was by default still running
on Node.js 20. Now this action by default will run on Node.js 24.
#### What's Changed
- Upload Artifact Node 24 support by
[@​salmanmkc](https://redirect.github.com/salmanmkc) in
[#​719](https://redirect.github.com/actions/upload-artifact/pull/719)
- fix: update
[@​actions/artifact](https://redirect.github.com/actions/artifact)
for Node.js 24 punycode deprecation by
[@​salmanmkc](https://redirect.github.com/salmanmkc) in
[#​744](https://redirect.github.com/actions/upload-artifact/pull/744)
- prepare release v6.0.0 for Node.js 24 support by
[@​salmanmkc](https://redirect.github.com/salmanmkc) in
[#​745](https://redirect.github.com/actions/upload-artifact/pull/745)
**Full Changelog**:
<actions/upload-artifact@v5.0.0...v6.0.0>
###
[`v6`](https://redirect.github.com/actions/upload-artifact/compare/v5.0.0...v6.0.0)
[Compare
Source](https://redirect.github.com/actions/upload-artifact/compare/v5.0.0...v6.0.0)
###
[`v5.0.0`](https://redirect.github.com/actions/upload-artifact/releases/tag/v5.0.0)
[Compare
Source](https://redirect.github.com/actions/upload-artifact/compare/v5.0.0...v5.0.0)
#### What's Changed
**BREAKING CHANGE:** this update supports Node `v24.x`. This is not a
breaking change per-se but we're treating it as such.
- Update README.md by
[@​GhadimiR](https://redirect.github.com/GhadimiR) in
[#​681](https://redirect.github.com/actions/upload-artifact/pull/681)
- Update README.md by
[@​nebuk89](https://redirect.github.com/nebuk89) in
[#​712](https://redirect.github.com/actions/upload-artifact/pull/712)
- Readme: spell out the first use of GHES by
[@​danwkennedy](https://redirect.github.com/danwkennedy) in
[#​727](https://redirect.github.com/actions/upload-artifact/pull/727)
- Update GHES guidance to include reference to Node 20 version by
[@​patrikpolyak](https://redirect.github.com/patrikpolyak) in
[#​725](https://redirect.github.com/actions/upload-artifact/pull/725)
- Bump `@actions/artifact` to `v4.0.0`
- Prepare `v5.0.0` by
[@​danwkennedy](https://redirect.github.com/danwkennedy) in
[#​734](https://redirect.github.com/actions/upload-artifact/pull/734)
#### New Contributors
- [@​GhadimiR](https://redirect.github.com/GhadimiR) made their
first contribution in
[#​681](https://redirect.github.com/actions/upload-artifact/pull/681)
- [@​nebuk89](https://redirect.github.com/nebuk89) made their
first contribution in
[#​712](https://redirect.github.com/actions/upload-artifact/pull/712)
- [@​danwkennedy](https://redirect.github.com/danwkennedy) made
their first contribution in
[#​727](https://redirect.github.com/actions/upload-artifact/pull/727)
- [@​patrikpolyak](https://redirect.github.com/patrikpolyak) made
their first contribution in
[#​725](https://redirect.github.com/actions/upload-artifact/pull/725)
**Full Changelog**:
<actions/upload-artifact@v4...v5.0.0>
###
[`v5`](https://redirect.github.com/actions/upload-artifact/compare/v4.6.2...v5.0.0)
[Compare
Source](https://redirect.github.com/actions/upload-artifact/compare/v4.6.2...v5.0.0)
</details>
---
### Configuration
📅 **Schedule**: (UTC)
- Branch creation
- At any time (no schedule defined)
- Automerge
- At any time (no schedule defined)
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.
👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.com/renovatebot/renovate/discussions) if
that's undesired.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/DiamondLightSource/python-copier-template).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNTkuMiIsInVwZGF0ZWRJblZlciI6IjQzLjI1OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>1 parent 2ea9db6 commit cfcde41
4 files changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
0 commit comments