actions / upload-artifact

MIT License
3.26k stars 739 forks source link

[feat req] Support a retention time of zero days, or add delete-artifact action #402

Closed fulldecent closed 11 months ago

fulldecent commented 1 year ago

What would you like to be added?

Artifacts are a way to pass files from one job in a workflow to another job in the same workflow.

It seems like this is a popular use case.

Unfortunately, in addition to passing files among jobs, artifacts currently must also persist outside of the workflow.

Why is this needed?

An artifact which is not needed outside of a workflow should not be saved outside of said workflow.

konradpabjan commented 11 months ago

Duplicate of https://github.com/actions/upload-artifact/issues/45 so closing out

Basically transient artifacts that are deleted at the end of a run automatically