Skip to content

Commit fb9207c

Browse files
committed
Workaround OS X GitHub Actions CI problems
Inspired by: drogue-iot/drogue-cloud@b31e2ba Great thanks to @ggbecker for suggestion! Addressing: Error: The `brew link` step did not complete successfully The formula built, but is not symlinked into /usr/local Could not symlink bin/2to3-3.11 Target /usr/local/bin/2to3-3.11 already exists. You may want to remove it: rm '/usr/local/bin/2to3-3.11'
1 parent 1f30221 commit fb9207c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@ jobs:
8787
# Runs a single command using the runners shell
8888
- name: Install Deps
8989
run: |
90+
# Unlink and re-link to prevent errors when GitHub Mac runner images
91+
# install Python outside of Brew:
92+
brew list -1 | grep python | while read formula; do brew unlink $formula; brew link --overwrite $formula; done
9093
brew update
9194
brew install doxygen
9295
brew install opendbx

0 commit comments

Comments
 (0)