Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update documentation for v4 #465

Merged
merged 7 commits into from Dec 13, 2023
Merged

Update documentation for v4 #465

merged 7 commits into from Dec 13, 2023

Conversation

robherley
Copy link
Member

馃憠 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
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
Co-authored-by: Konrad Pabjan <konradpabjan@github.com>
@robherley robherley merged commit f391bb9 into v4-beta Dec 13, 2023
7 checks passed

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?

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.

None yet

4 participants