upload-artifact
upload-artifact copied to clipboard
Rename the files after/before uploading
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.
You can always do a copy to the new name before uploading, but if its a large file the copy is a wasteful operation.