-
Notifications
You must be signed in to change notification settings - Fork 4
Bump actions/download-artifact from 4 to 5 #149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump actions/download-artifact from 4 to 5 #149
Conversation
|
There's a breaking change in this release and the migration guide doesn't explain how to migrate our use case and parameters (download all artifacts to the current directory). It's not clear if this is a bug in v5 or just an incomplete migration guide. |
|
We could try changing this line to not look in a subdirectory (
|
Hm I see, weird indeed. I guess we only have one artifact we download, which triggers the new behavior as well. I raised the unclear behavior in the offending PR at actions/download-artifact#416 (comment). FWIW, our use here is a bit weird, we don't really use a matrix. So we can use explicit name and use a path to have consistent behavior. |
|
Yes, we could. But it's best practice to run the tests on all supported Python versions (currently at least Python 3.12 and 3.13). I'd rather extend our CI to do that than going the other way. |
Good point. It seems this GitHub Actions came from Supervisor, where we removed multiple Python versions a while back with home-assistant/supervisor#3864. But for the client library we should follow Core's Python support stance. |
|
Yeah. And it's nice if we don't couple the change of supported versions too tightly to core, but can add a Python version when it get released and this library supports it and remove a supported Python version when core no longer supports it. That way we aren't tightly tied to a specific point in time when we need to do maintenance here, more than that we should make sure to have support of a Python version before Home Assistant requires it. With this in mind, being able to support more than a single Python version is good. |
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4 to 5. - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](actions/download-artifact@v4...v5) --- updated-dependencies: - dependency-name: actions/download-artifact dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
494e411 to
67bb5ba
Compare
|
@dependabot rebase |
|
Looks like this PR is already up-to-date with main! If you'd still like to recreate it from scratch, overwriting any edits, you can request |
agners
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We typically pin versions explicitly.
Bumps actions/download-artifact from 4 to 5.
Release notes
Sourced from actions/download-artifact's releases.
... (truncated)
Commits
634f93cMerge pull request #416 from actions/single-artifact-id-download-pathb19ff43refactor: resolve download path correctly in artifact download tests (mainly ...e262cbebundle distbff23f9update docsfff8c14fix download path logic when downloading a single artifact by id448e3f8Merge pull request #407 from actions/nebuk89-patch-147225c4Update README.mdDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)