dsaltares / fetch-gh-release-asset

Github Action to download an asset from a Github release
MIT License
113 stars 70 forks source link

Support wildcard in `file` #33

Closed boozook closed 2 years ago

boozook commented 2 years ago

Please add support regex or just * for file field. It needed for case where filename contains some various changing info. Version, for example. In case of you need "latest" version/release you can't know the filename.

dsaltares commented 2 years ago

That sounds like a good idea, thanks for opening an issue. Would you be able to submit a PR? I'd gladly accept it.

gjermundgaraba commented 2 years ago

@dsaltares What is the status on that PR? I'm currently blocked on this and would love a new release with this feature included :)

dsaltares commented 2 years ago

Thanks for the ping. The change looks good and it's merged now: https://github.com/dsaltares/fetch-gh-release-asset/pull/35. You can get this feature now by pointing to latest. Will try to release a new version soon.

gjermundgaraba commented 2 years ago

Sweet! Thanks! I will be testing this right away and can give additional feedback if anything is not working as expected :+1:

dsaltares commented 2 years ago

You're welcome, you can now use 0.0.8 too https://github.com/dsaltares/fetch-gh-release-asset/releases/tag/0.0.8

dsaltares commented 2 years ago

Closing this one for now, please ping me if there are any issues with the feature.