action-download-artifact icon indicating copy to clipboard operation
action-download-artifact copied to clipboard

Support for wildcard names

Open TinaTiel opened this issue 3 years ago • 1 comments

Super useful GH action, thank you for providing this to the community! I'm wondering if supporting wildcards in names would be an useful feature?

For example, in cases like this with many different platforms I'd like to download just the Ubuntu64 artifacts. For example:

- name: Download Palakis latest Ubuntu Build
      uses: dawidd6/action-download-artifact@v2
      with:
        github_token: ${{secrets.GITHUB_TOKEN}}
        workflow: main.yml # "CI Multiplatform Build"
        branch: master
        repo: Palakis/obs-websocket
        name: obs-websocket*amd64.deb
        path: downloads

If this sounds like a great idea, I could try contributing this feature (or let me know if you'll do it instead).

TinaTiel avatar Jun 25 '21 13:06 TinaTiel

Feel free to open a PR.

dawidd6 avatar Jun 25 '21 16:06 dawidd6