Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 11, 2024

Bumps actions/upload-artifact from 3 to 4.

Release notes

Sourced from actions/upload-artifact's releases.

v4.0.0

What's Changed

The release of upload-artifact@v4 and download-artifact@v4 are major changes to the backend architecture of Artifacts. They have numerous performance and behavioral improvements.

ℹ️ However, this is a major update that includes breaking changes. Artifacts created with versions v3 and below are not compatible with the v4 actions. Uploads and downloads must use the same major actions versions. There are also key differences from previous versions that may require updates to your workflows.

For more information, please see:

  1. The changelog post.
  2. The README.
  3. The migration documentation.
  4. As well as the underlying npm package, @​actions/artifact documentation.

New Contributors

Full Changelog: actions/upload-artifact@v3...v4.0.0

v3.1.3

What's Changed

Full Changelog: actions/upload-artifact@v3...v3.1.3

v3.1.2

  • Update all @actions/* NPM packages to their latest versions- #374
  • Update all dev dependencies to their most recent versions - #375

v3.1.1

  • Update actions/core package to latest version to remove set-output deprecation warning #351

v3.1.0

What's Changed

Commits
  • 6546280 updating package version
  • c004fb4 Merge branch 'main' into eggyhead/use-artifact-v2.1.6
  • 90aba49 updating toolkit artifact dependency to 2.1.6
  • b06cde3 Merge pull request #563 from actions/eggyhead/release-4.3.2
  • 1746f4a Revert "updating to release 4.3.2"
  • 31685d0 updating to release 4.3.2
  • 18bf333 Merge pull request #562 from actions/eggyhead/update-artifact-v215
  • dac413b update package lock version
  • bb3b4a3 updating package version
  • 3e3da83 updating artifact and core dependencies
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jun 11, 2024
@emmadesilva emmadesilva changed the title Bump actions/upload-artifact from 3 to 4 Migrate actions/upload-artifact from 3 to 4 Jun 11, 2024
@emmadesilva
Copy link
Member

emmadesilva commented Jun 11, 2024

Breaking Changes documented in https://github.com/actions/upload-artifact?tab=readme-ov-file#breaking-changes

Uploading to the same named Artifact multiple times.

Due to how Artifacts are created in this new version, it is no longer possible to upload to the same named Artifact multiple times. You must either split the uploads into multiple Artifacts with different names, or only upload once. Otherwise you will encounter an error.

This causes an issue in our tests where we run the action multiple times. This probably won't be an issue for real usages unless users want to deploy multiple sites from the same job, which I guess could happen? Best way to resolve it might then be to so support an input for custom artifact names.

@emmadesilva emmadesilva marked this pull request as draft June 11, 2024 09:47
@emmadesilva
Copy link
Member

emmadesilva commented Jun 11, 2024

Okay, this could be a breaking change, so we are shelving this for next time we make a major release. I don't think it's worth to make one now as of yet just for this change. The v3 action is deprecated, but will be supported until November 30, 2024. So we have plenty of time. (2025 edit: Famous last words)

https://github.com/actions/upload-artifact
https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

@DannyvdSluijs
Copy link

Okay, this could be a breaking change, so we are shelving this for next time we make a major release. I don't think it's worth to make one now as of yet just for this change. The v3 action is deprecated, but will be supported until November 30, 2024. So we have plenty of time.

https://github.com/actions/upload-artifact https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

@caendesilva I guess time did get up on this in the end. I was just adding this action to my freshly migrated HydePHP site which was a breeze 👍🏼 but now I can't deploy. Is there anything I or others can do to help out?

@emmadesilva
Copy link
Member

Okay, this could be a breaking change, so we are shelving this for next time we make a major release. I don't think it's worth to make one now as of yet just for this change. The v3 action is deprecated, but will be supported until November 30, 2024. So we have plenty of time.
https://github.com/actions/upload-artifact https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

@caendesilva I guess time did get up on this in the end. I was just adding this action to my freshly migrated HydePHP site which was a breeze 👍🏼 but now I can't deploy. Is there anything I or others can do to help out?

@DannyvdSluijs Well I completely dropped the ball on this 🙈 I'm getting on this right now! I'm just gonna set up a new major version of this repo and maybe I can ping you when it's ready to beta test?

@emmadesilva emmadesilva marked this pull request as ready for review February 14, 2025 15:50
@emmadesilva
Copy link
Member

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/github_actions/actions/upload-artifact-4 branch from 81b1372 to 1b16a74 Compare February 14, 2025 15:52
@emmadesilva
Copy link
Member

@dependabot rebase

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 14, 2025

Looks like this PR is already up-to-date with master! If you'd still like to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

@emmadesilva
Copy link
Member

@dependabot recreate

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@v3...v4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/github_actions/actions/upload-artifact-4 branch from 1b16a74 to 61f23e0 Compare February 14, 2025 15:54
@emmadesilva emmadesilva merged commit 519d17c into master Feb 14, 2025
4 of 7 checks passed
@dependabot dependabot bot deleted the dependabot/github_actions/actions/upload-artifact-4 branch February 14, 2025 15:56
@emmadesilva
Copy link
Member

I'm going to fix failing tests in second PR (reason #35 (comment)), but merging this now, and tagging a beta release. @DannyvdSluijs Would you mind trying out the beta release and letting me know if there are any issues? https://github.com/hydephp/action/releases/tag/v2.0.0-beta

@emmadesilva emmadesilva changed the title Migrate actions/upload-artifact from 3 to 4 [2.x] Migrate actions/upload-artifact from 3 to 4 Feb 14, 2025
@DannyvdSluijs
Copy link

Just leaving the office. But I should be able to check later today or in the upcoming days.

@DannyvdSluijs
Copy link

@emmadesilva
Copy link
Member

@DannyvdSluijs Fantastic! Thanks for checking! Gonna fix up the tests and make the real release!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking-change dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants