In actions/download-artifact@v4, what does the 'merge-multiple: true' parameter do?
Select an answer to reveal the explanation.
Short Explanation and Infographic
merge-multiple: true lets you download several artifacts by pattern and flatten them into one directory instead of getting per-artifact subdirectories.
Full explanation below image
Full Explanation
actions/download-artifact@v4 introduced 'merge-multiple: true' which, when combined with a glob 'name' pattern, downloads multiple matching artifacts and places all their files into a single flat directory. Without merge-multiple, each artifact gets its own subdirectory named after the artifact. This is useful when matrix builds produce individual artifacts (like 'coverage-ubuntu', 'coverage-windows', 'coverage-macos') and you want to merge all coverage reports into one directory for a combined report step. It does not merge across runs or perform git-style content merging.