-
-
Notifications
You must be signed in to change notification settings - Fork 51
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
Not all artifacts matching the glob are deleted #22
Comments
I have added a "sleep 60" step before the deletion to avoid problems with github being slow to actually show the artifacts but the result is identical. The artifacts which could be downnloaded are these:
and the artifacts which got deleted are these:
I don't see an obvious pattern in the remaining files (made them bold in the first list) |
I am experiencing the same issue after upgrade to v4. Not all cache artifacts that matches the naming pattern are deleted 😕 |
Experiencing same issue here. There are 70 artifacts created by actions matrix, all have matrix id as suffix like "test-artifact-id". However specifying "test-artifact-*" only delete 20 on them. |
Context:
I am currently reworking a workflow to use with the v4 versions of upload/download-artifact and was relying heavily on adding content to artifacts before. So I settled for creating lots of unique little artifacts and combining them for the user at the very end of my workflow, where I use those tiny bits to generate a couple of reports. I use download-artifact to download all artifacts matching the pattern "testplan-", then I generate some reports from all the snippets and combine everything into an artifact "testplan". Afterwards, I want to delete everything matching "testplan-" to clean up.
Problem:
Some but not all artifacts matching the pattern are deleted. Example:
downloads 32 artifacts, matching the various matrix runs. The subsequent
then deletes 18 of them, leaving the rest to dry. Do you have any idea, why this is happening?
The text was updated successfully, but these errors were encountered: