actions / upload-artifact

MIT License
3.01k stars 683 forks source link

[feat req] Add option to place all files in the root of the artifact #475

Open IsakTheHacker opened 6 months ago

IsakTheHacker commented 6 months ago

What would you like to be added?

I would like to add an option that completly flattens the output directory graph, where all files are placed in the root of the artifact archive.

Why is this needed?

I have a project which creates multiple binaries depending on configuration (ABI, device type etc.). It places these binaries in different directories together with their respective intermediate files and logs. I only want the final binaries included in my artifacts, hence this feature request; which makes it easier to collect all the final binaries and publish them!