From: tsteven4 <13596209+tsteven4@users.noreply.github.com> Date: Tue, 16 Apr 2024 13:35:04 +0000 (-0600) Subject: work around homebrew python linking issues (#1267) X-Git-Tag: archive/raspbian/1.10.0+ds-2+rpi1~1^2~12^2^2~109 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=9cc7b932b1c1d58861ac97c8cdbce97fdcea0b7e;p=gpsbabel.git work around homebrew python linking issues (#1267) * debug python brew issues * dbg2 * dbg3 * dbg4 * insulate workflow from homebrew location. --- diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 5244f8741..3538c98fa 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -73,6 +73,12 @@ jobs: # https://github.com/actions/runner-images/issues/6507 # https://github.com/actions/runner-images/issues/2322 # brew update # skip update for now to avoid link issues AND many slow dependency upGRADES. + brew list -1 | grep python + ls -l $(brew --prefix)/bin | grep -i python + # workaround for https://github.com/actions/setup-python/issues/577 + brew list -1 | grep python | while read formula; do brew unlink $formula; brew link --overwrite $formula; done + brew list -1 | grep python + ls -l $(brew --prefix)/bin | grep -i python brew install ninja brew install docbook docbook-xsl fop gnu-sed # brew install is taking forever on macos-11, skip jing-trang and all it's dependencies.