Skip to content

Commit 77b1aaa

Browse files
committed
force reinstall Alien::proj as cached may have out of date proj path
1 parent 3586372 commit 77b1aaa

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

github-actions/install-dep-pdl-dep/action.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ runs:
1212
echo "::endgroup::"
1313
elif ${{ toJSON( runner.os == 'macOS' ) }}; then
1414
echo "::group::Install main PDL deps (via brew)"
15+
brew update
1516
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 brew install proj netpbm gsl
1617
echo "::endgroup::"
1718
fi
@@ -20,7 +21,8 @@ runs:
2021
run: |
2122
if ${{ toJSON( runner.os == 'Linux' || runner.os == 'macOS' ) }}; then
2223
echo "::group::Install extra optional main PDL deps (via cpanm)"
23-
cpanm -n Term::ReadLine::Gnu Alien::HDF4 Alien::proj Inline::C || cat ~/.cpanm/build.log
24+
cpanm -n Term::ReadLine::Gnu Alien::HDF4 Inline::C || cat ~/.cpanm/build.log
25+
cpanm -n --reinstall Alien::proj || cat ~/.cpanm/build.log # in case has old path
2426
echo "::endgroup::"
2527
fi
2628
- name: Install OpenGL PDL deps

0 commit comments

Comments
 (0)