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

Fix pkconfig path lookup using `brew --prefix` #38

Closed straight-shoota closed 4 months ago

straight-shoota commented 4 months ago

The homebrew installation directory moved from /usr/local/Cellar to /opt/homebrew/Cellar in the latest update of the GitHub Actions runner image (https://github.com/actions/runner-images/pull/9728).

The former path was hard coded in the install action, and as a result pkgconfig information for openssl could not be found.

This patch queries brew --prefix to get the installation directory.

straight-shoota commented 4 months ago

The second commit fixes a CI failure for an antique Crystal version which is already disabled on windows-latest. https://github.com/crystal-lang/install-crystal/actions/runs/8848999195/job/24299943542?pr=38

oprypin commented 4 months ago

I suppose I'll make a release now