actions / upload-artifact

MIT License
3.16k stars 708 forks source link

Rename the files after/before uploading #570

Open AliAkberAakash opened 4 months ago

AliAkberAakash commented 4 months ago

What would you like to be added?

I would like to provide a custom name for the file/folder being uploaded (not the artifact)

Why is this needed?

Now it's only possible to provide name for the artifact, and not the file inside. I have a usecase where the generated file has a generic name, but I would like to give it a custom name before/after being being uploaded. So that when I unzip the artifact the file has the custom name.