crystal-lang / install-crystal

GitHub Action: Install Crystal programming language
https://crystal-lang.github.io/install-crystal/configurator.html
MIT License
68 stars 8 forks source link

Add support for installing maintenance version #30

Closed straight-shoota closed 1 year ago

straight-shoota commented 1 year ago

The crystal input gets another mode: If the value starts with branch:, the following part is interpreted as a branch name on the git repository and the installer looks for a maintenance build associated with that branch. Querying works the same way as for nightly builds (which is equivalent to branch: master), so this patch only adaps input processing and make the branch name configurable. Also adds some error handling in places where I noticed some holes.

Resolves #28