actions / download-artifact

MIT License
1.42k stars 483 forks source link

[feat req] Downloading a list of artifacts? #216

Open tschm opened 1 year ago

tschm commented 1 year ago

What would you like to be added?

I would love to do stuff like

# Download all artifacts
      - uses: actions/download-artifact@v3
        with:
          name: [sphinx, test]
          path: .book/artifacts

Why is this needed?

I can either download one artifact or all artifact. Maybe you support already an explicit list given by the user. Would be more robust.

WyriHaximus commented 1 year ago

This looks a lot like #202? Would absolutely love to have this, the download all that came with v3 makes me run out of runner space in a specific workflow :(. This would solve that by letting me split it over multiple workflows.

henryiii commented 10 months ago

This would also be very nice after the auto-merging feature was removed in v4. Especially if it would merge the directories like listing a specific names does (the "all" feature puts everything in nested directories, which is very inconvenient for some use cases, like building binaries for different platforms, logs, coverage, multi-step websites, etc). Supporting globbing (wheels-* for example) would be perfect for providing a path forward for jobs that no longer are supposed on v4.