From ac235ce55726a6eeedb3ad1e7a3761ca5887ff2f Mon Sep 17 00:00:00 2001 From: Ed J Date: Mon, 3 Jun 2024 00:42:30 +0100 Subject: [PATCH] force reinstall Alien::proj as cached may have out of date proj path --- github-actions/install-dep-pdl-dep/action.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/github-actions/install-dep-pdl-dep/action.yml b/github-actions/install-dep-pdl-dep/action.yml index 60cbf51..77fbde1 100644 --- a/github-actions/install-dep-pdl-dep/action.yml +++ b/github-actions/install-dep-pdl-dep/action.yml @@ -12,6 +12,7 @@ runs: echo "::endgroup::" elif ${{ toJSON( runner.os == 'macOS' ) }}; then echo "::group::Install main PDL deps (via brew)" + brew update HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 brew install proj netpbm gsl echo "::endgroup::" fi @@ -20,7 +21,8 @@ runs: run: | if ${{ toJSON( runner.os == 'Linux' || runner.os == 'macOS' ) }}; then echo "::group::Install extra optional main PDL deps (via cpanm)" - cpanm -n Term::ReadLine::Gnu Alien::HDF4 Alien::proj Inline::C || cat ~/.cpanm/build.log + cpanm -n Term::ReadLine::Gnu Alien::HDF4 Inline::C || cat ~/.cpanm/build.log + cpanm -n --reinstall Alien::proj echo "::endgroup::" fi - name: Install OpenGL PDL deps