upload-artifact icon indicating copy to clipboard operation
upload-artifact copied to clipboard

Rename the files after/before uploading

Open AliAkberAakash opened this issue 1 year ago • 1 comments

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.

AliAkberAakash avatar May 31 '24 08:05 AliAkberAakash

You can always do a copy to the new name before uploading, but if its a large file the copy is a wasteful operation.

msgilligan avatar Jan 28 '25 02:01 msgilligan