-
Notifications
You must be signed in to change notification settings - Fork 787
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
Update documentation for v4 #465
Conversation
Co-authored-by: Konrad Pabjan <[email protected]>
|
||
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. |
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.
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?
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.
Make AI comments available to the members.
👉 Rendered README 👈
@actions/artifact
packagev2.0.0