Skip to content

Commit 7e1880c

Browse files
Update GitHub Artifact Actions to v8 (#30)
This PR contains the following updates: | Package | Type | Update | New value | References | Sourcegraph | |---|---|---|---|---|---| | [actions/download-artifact](https://redirect.github.com/actions/download-artifact) | action | major | v8 | [source](https://redirect.github.com/actions/download-artifact) | [![code search for "actions/download-artifact"](https://sourcegraph.com/search/badge?q=repo:%5Egithub%5C.com/sourcegraph%2Fsrc-py-lib%24+case:yes+-file:package%28-lock%29%3F%5C.json%7Cyarn%5C.lock+actions%2Fdownload-artifact&label=matches)](https://sourcegraph.com/search?q=repo:%5Egithub%5C.com/sourcegraph%2Fsrc-py-lib%24+case:yes+-file:package%28-lock%29%3F%5C.json%7Cyarn%5C.lock+actions%2Fdownload-artifact) | Test plan: CI should pass with updated dependencies. No review required: this is an automated dependency update PR. --- ### 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 ##### 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 `false`. ##### 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...v8) [Compare Source](https://redirect.github.com/actions/download-artifact/compare/v7.0.0...v8) </details> --- ### Configuration 📅 **Schedule**: (in timezone America/Los_Angeles) - 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 becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- 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/sourcegraph/src-py-lib). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yMDkuNCIsInVwZGF0ZWRJblZlciI6IjQzLjIwOS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJib3QiXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 5382b0c commit 7e1880c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ jobs:
253253

254254
steps:
255255
- name: Download release assets
256-
uses: actions/download-artifact@v7
256+
uses: actions/download-artifact@v8
257257
with:
258258
name: src-py-lib-release
259259
path: release-assets
@@ -301,7 +301,7 @@ jobs:
301301

302302
steps:
303303
- name: Download built distribution
304-
uses: actions/download-artifact@v7
304+
uses: actions/download-artifact@v8
305305
with:
306306
name: pypi-distributions
307307
path: dist

0 commit comments

Comments
 (0)