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

Artifacts uploaded by actions/upload-artifact@v4 are not deleted #3439

Closed
muzimuzhi opened this issue Dec 20, 2023 · 1 comment · Fixed by #3447
Closed

Artifacts uploaded by actions/upload-artifact@v4 are not deleted #3439

muzimuzhi opened this issue Dec 20, 2023 · 1 comment · Fixed by #3447

Comments

@muzimuzhi
Copy link
Contributor

GeekyEggo/[email protected] is unable to delete artifacts uploaded by actions/upload-artifact@v4. See how this workflow run triggered by pushing a tag (to my forked repo) ended with 7, rather than 4 artifacts.

I've raised issue GeekyEggo/delete-artifact#14.

In muzimuzhi/hello-github-actions#24 I tried other possibilities to delete artifacts, including adapting GeekyEggo/delete-artifact (no luck) and making use of GitHub REST APIs (succeeded in two ways, but cumbersome).

It seems setting retention-days: 1 for actions/upload-artifact@v4 is the shortest short-term workaround.

@muzimuzhi
Copy link
Contributor Author

See a related feature request on actions/download-artifact

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 a pull request may close this issue.

1 participant