Download all artifacts and manage directory structure
mainIf name is not provided, all artifacts for the run are downloaded. By default, each artifact is extracted into its own subdirectory named after the artifact. Use merge-multiple: true to extract all artifacts into the same directory specified by path.
# Download all to current working directory (creates subdirectories per artifact)
- uses: actions/download-artifact@v8
# Download all to a specific directory (creates subdirectories per artifact)
- uses: actions/download-artifact@v8
with:
path: path/to/artifacts
# Download all to the SAME directory (no subdirectories)
- uses: actions/download-artifact@v8
with:
path: path/to/artifacts
merge-multiple: true