Skip to content

Commit cfcde41

Browse files
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 [@&#8203;danwkennedy](https://redirect.github.com/danwkennedy) in [#&#8203;471](https://redirect.github.com/actions/download-artifact/pull/471) - Add a regression test for artifact name + content-type mismatches by [@&#8203;danwkennedy](https://redirect.github.com/danwkennedy) in [#&#8203;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\@&#8203;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 @&#8203;actions/\* packages, we've upgraded the package to ESM. #### What's Changed - Don't attempt to un-zip non-zipped downloads by [@&#8203;danwkennedy](https://redirect.github.com/danwkennedy) in [#&#8203;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 [@&#8203;danwkennedy](https://redirect.github.com/danwkennedy) in [#&#8203;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\@&#8203;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 [@&#8203;patrikpolyak](https://redirect.github.com/patrikpolyak) in [#&#8203;440](https://redirect.github.com/actions/download-artifact/pull/440) - Download Artifact Node24 support by [@&#8203;salmanmkc](https://redirect.github.com/salmanmkc) in [#&#8203;415](https://redirect.github.com/actions/download-artifact/pull/415) - fix: update [@&#8203;actions/artifact](https://redirect.github.com/actions/artifact) to fix Node.js 24 punycode deprecation by [@&#8203;salmanmkc](https://redirect.github.com/salmanmkc) in [#&#8203;451](https://redirect.github.com/actions/download-artifact/pull/451) - prepare release v7.0.0 for Node.js 24 support by [@&#8203;salmanmkc](https://redirect.github.com/salmanmkc) in [#&#8203;452](https://redirect.github.com/actions/download-artifact/pull/452) #### New Contributors - [@&#8203;patrikpolyak](https://redirect.github.com/patrikpolyak) made their first contribution in [#&#8203;440](https://redirect.github.com/actions/download-artifact/pull/440) - [@&#8203;salmanmkc](https://redirect.github.com/salmanmkc) made their first contribution in [#&#8203;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 [@&#8203;yacaovsnc](https://redirect.github.com/yacaovsnc) in [#&#8203;417](https://redirect.github.com/actions/download-artifact/pull/417) - Update README with artifact extraction details by [@&#8203;yacaovsnc](https://redirect.github.com/yacaovsnc) in [#&#8203;424](https://redirect.github.com/actions/download-artifact/pull/424) - Readme: spell out the first use of GHES by [@&#8203;danwkennedy](https://redirect.github.com/danwkennedy) in [#&#8203;431](https://redirect.github.com/actions/download-artifact/pull/431) - Bump `@actions/artifact` to `v4.0.0` - Prepare `v6.0.0` by [@&#8203;danwkennedy](https://redirect.github.com/danwkennedy) in [#&#8203;438](https://redirect.github.com/actions/download-artifact/pull/438) #### New Contributors - [@&#8203;danwkennedy](https://redirect.github.com/danwkennedy) made their first contribution in [#&#8203;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 [@&#8203;danwkennedy](https://redirect.github.com/danwkennedy) in [#&#8203;795](https://redirect.github.com/actions/upload-artifact/pull/795) - Readme: bump all the example versions to v7 by [@&#8203;danwkennedy](https://redirect.github.com/danwkennedy) in [#&#8203;796](https://redirect.github.com/actions/upload-artifact/pull/796) - Include changes in typespec/ts-http-runtime 0.3.5 by [@&#8203;yacaovsnc](https://redirect.github.com/yacaovsnc) in [#&#8203;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 [@&#8203;Link-](https://redirect.github.com/Link-) in [#&#8203;754](https://redirect.github.com/actions/upload-artifact/pull/754) - Upgrade the module to ESM and bump dependencies by [@&#8203;danwkennedy](https://redirect.github.com/danwkennedy) in [#&#8203;762](https://redirect.github.com/actions/upload-artifact/pull/762) - Support direct file uploads by [@&#8203;danwkennedy](https://redirect.github.com/danwkennedy) in [#&#8203;764](https://redirect.github.com/actions/upload-artifact/pull/764) #### New Contributors - [@&#8203;Link-](https://redirect.github.com/Link-) made their first contribution in [#&#8203;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\@&#8203;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 [@&#8203;salmanmkc](https://redirect.github.com/salmanmkc) in [#&#8203;719](https://redirect.github.com/actions/upload-artifact/pull/719) - fix: update [@&#8203;actions/artifact](https://redirect.github.com/actions/artifact) for Node.js 24 punycode deprecation by [@&#8203;salmanmkc](https://redirect.github.com/salmanmkc) in [#&#8203;744](https://redirect.github.com/actions/upload-artifact/pull/744) - prepare release v6.0.0 for Node.js 24 support by [@&#8203;salmanmkc](https://redirect.github.com/salmanmkc) in [#&#8203;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 [@&#8203;GhadimiR](https://redirect.github.com/GhadimiR) in [#&#8203;681](https://redirect.github.com/actions/upload-artifact/pull/681) - Update README.md by [@&#8203;nebuk89](https://redirect.github.com/nebuk89) in [#&#8203;712](https://redirect.github.com/actions/upload-artifact/pull/712) - Readme: spell out the first use of GHES by [@&#8203;danwkennedy](https://redirect.github.com/danwkennedy) in [#&#8203;727](https://redirect.github.com/actions/upload-artifact/pull/727) - Update GHES guidance to include reference to Node 20 version by [@&#8203;patrikpolyak](https://redirect.github.com/patrikpolyak) in [#&#8203;725](https://redirect.github.com/actions/upload-artifact/pull/725) - Bump `@actions/artifact` to `v4.0.0` - Prepare `v5.0.0` by [@&#8203;danwkennedy](https://redirect.github.com/danwkennedy) in [#&#8203;734](https://redirect.github.com/actions/upload-artifact/pull/734) #### New Contributors - [@&#8203;GhadimiR](https://redirect.github.com/GhadimiR) made their first contribution in [#&#8203;681](https://redirect.github.com/actions/upload-artifact/pull/681) - [@&#8203;nebuk89](https://redirect.github.com/nebuk89) made their first contribution in [#&#8203;712](https://redirect.github.com/actions/upload-artifact/pull/712) - [@&#8203;danwkennedy](https://redirect.github.com/danwkennedy) made their first contribution in [#&#8203;727](https://redirect.github.com/actions/upload-artifact/pull/727) - [@&#8203;patrikpolyak](https://redirect.github.com/patrikpolyak) made their first contribution in [#&#8203;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

File tree

.github/workflows/_dist.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
uvx --from build pyproject-build
2222
2323
- name: Upload sdist and wheel as artifacts
24-
uses: actions/upload-artifact@v4
24+
uses: actions/upload-artifact@v7
2525
with:
2626
name: dist
2727
path: dist

.github/workflows/_docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
run: rm build/html/.doctrees/environment.pickle
3131

3232
- name: Upload built docs artifact
33-
uses: actions/upload-artifact@v4
33+
uses: actions/upload-artifact@v7
3434
with:
3535
name: docs
3636
path: build

.github/workflows/_pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88

99
steps:
1010
- name: Download dist artifact
11-
uses: actions/download-artifact@v5
11+
uses: actions/download-artifact@v8
1212
with:
1313
name: dist
1414
path: dist

.github/workflows/_release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77

88
steps:
99
- name: Download artifacts
10-
uses: actions/download-artifact@v5
10+
uses: actions/download-artifact@v8
1111
with:
1212
merge-multiple: true
1313

0 commit comments

Comments
 (0)