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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat req] option to not fail when artifact does exist #524

Closed
kenorb opened this issue Feb 17, 2024 · 2 comments
Closed

[feat req] option to not fail when artifact does exist #524

kenorb opened this issue Feb 17, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@kenorb
Copy link

kenorb commented Feb 17, 2024

What would you like to be added?

In v4 by default action fails if artifact with a matching name does exist.
Please add option to not fail when artifact exist (similar to if-no-files-found:), to simply ignore it.

Why is this needed?

When re-using workflows in job matrix, sometimes it's expected that artifact with the same name exist. Previously when using v3 action, the job didn't fail, but it was merging the files. In v4 since the job fails by default, so I think this new option is needed to have better control over this, otherwise people would be stuck at v3 due to lack of flexibility.

@kenorb kenorb added the enhancement New feature or request label Feb 17, 2024
@comp615
Copy link

comp615 commented Mar 1, 2024

Please see #520 and let me know if that covers it (in conjunction with the details given here on how to use merge to mimic v3 behavior)

@kenorb
Copy link
Author

kenorb commented Apr 21, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants