-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
Wildcard support for deleting all artifacts #1
Comments
Great suggestion; I think adding wildcard support would be a great addition. I've got some free time this weekend so I'll see what I can do and keep you posted. |
Awesome, thanks! |
+1 for this, would imagine you'd want to use @actions/glob as mentioned by @actions/upload-artifact? |
@LewisGaul I agree, using @actions/glob would be optimal; it appears that |
@GeekyEggo Hmm good point. I'm not very familiar with the setup with implementing github actions or with javascript/typescript, so not clear where an API for general glob pattern matching should be exposed from - seems reasonable that an API should perhaps be added to A simpler alternative that would be just as good for me (and it sounds like it would for the OP too) would be to delete all artifacts for the workflow in the case that no |
@benstear and @LewisGaul I've added support for glob pattern matching (utilising As the changes aren't breaking, and if you're happy with things, I'll update v1 this week. |
@GeekyEggo works great for me, thanks very much for implementing this. |
@GeekyEggo I've tested it - I tried a few variants and all worked, including |
@LewisGaul you're right; this was a change to how artifacts are matched against supplied |
Makes sense, would definitely be good to keep that warning though. Thanks for working on it! |
@LewisGaul the warning should now be present when |
Yep works for me! There's no warning if nothing is matched with |
Hi @GeekyEggo , any plans to release this feature in a stable version? Our project could use this feature so it'll be really helpful to have a release with it. |
Same question here - any plans to release this in a stable version? |
@GeekyEggo any update about this? It will help us a lot! :) |
Hi all, apologies this has taken me so long; glob support is now available as part of v2, and is on by default. 🙂 |
Is there a way to delete all artifacts, regardless of their name(s)? The names of my artifacts vary, so this would be a nice feature :)
The text was updated successfully, but these errors were encountered: