Skip to content

Update documentation for v4#465

Merged
robherley merged 7 commits intov4-betafrom
robherley/v4-documentation
Dec 13, 2023
Merged

Update documentation for v4#465
robherley merged 7 commits intov4-betafrom
robherley/v4-documentation

Conversation

@robherley
Copy link
Contributor

👉 Rendered README 👈

  • Updates documentation for new v4 behavior, inputs and outputs.
  • Bumps to the latest @actions/artifact package v2.0.0
  • Updates workflows to use latest actions versions + behavior

@robherley robherley marked this pull request as ready for review December 13, 2023 15:18
@robherley robherley requested a review from a team as a code owner December 13, 2023 15:18
@robherley robherley merged commit f391bb9 into v4-beta Dec 13, 2023
2. Uploading to the same named Artifact multiple times.

Big changes coming...
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.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So basically this breaks any workflow that were using this meaningful pattern?

In such cases you want to upload multiple assets from a matrix to a single artifact (https://github.com/docker/buildx/blob/8484fcdd5715c0683e8605e05cdffc0bfa8fde94/.github/workflows/build.yml#L149-L190) that you can then download from a dependent job to create a GitHub Release for example (https://github.com/docker/buildx/blob/8484fcdd5715c0683e8605e05cdffc0bfa8fde94/.github/workflows/build.yml#L244-L278).

How to do this then with v4?

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make AI comments available to the members.

@robherley robherley deleted the robherley/v4-documentation branch October 8, 2024 18:58
tdfacer pushed a commit to ifit/upload-artifact that referenced this pull request Oct 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants