-
Notifications
You must be signed in to change notification settings - Fork 750
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
Support transient/temporary artifacts with a retention period of 0 #45
Comments
Ref #5. |
Related (I think this could be more useful if the sole purpose is to transmit data between jobs): actions/download-artifact#20 If retention policies do get added, I'm thinking we'll be able to support this scenario. An expiration time of |
You can now set artifact and log retention duration to 1 day and we will clean and delete artifacts right after they expire. You can learn more about this feature here. Feedback is welcome! |
I still feel this is inadequate. I am currently working on developing my actions, and have, even using the 1 day expiration, nearly hit my limit on the plan. While this is due to some large artifacts, and needing to run the job many times in a short period, it is still a bother to have to go through and delete all of these artifacts by hand to keep working on developing the action.
The downside here is that if you have two jobs that run in parallel that use the artifact, which do you have delete it? |
If I understand the OP, something like Jenkins' 'stash' would be ideal. It's an artifact that only persists for the workflow run. https://www.jenkins.io/doc/pipeline/steps/workflow-basic-steps/#stash-stash-some-files-to-be-used-later-in-the-build |
Hello,
Some of my artifacts are transient. They transmit data between jobs but I don't want to keep them.
Ideally, I would like to use
actions/upload-artifact
like this:The
temporary
(ortransient
) flag would mark the artifact as transient and automatically delete it when the workflow is done.The text was updated successfully, but these errors were encountered: