[github-actions] fix brew install issue on macOS (#6990)

When brew install ninja, python 3.9 is being installed as a
dependency. However, the installation failed because there is a
conflict on binary /usr/local/bin/2to3.
This commit is contained in:
whd
2021-09-08 13:29:04 -07:00
committed by GitHub
parent 0a6fba303a
commit 88c2f0f7ed
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -270,6 +270,7 @@ jobs:
submodules: true
- name: Bootstrap
run: |
rm -f '/usr/local/bin/2to3'
brew update
brew install automake m4 ninja
[ ${{ matrix.CC }} != clang ] || brew install llvm
+1
View File
@@ -230,6 +230,7 @@ jobs:
- uses: actions/checkout@v2
- name: Bootstrap
run: |
rm -f '/usr/local/bin/2to3'
brew update
brew install ninja socat
- name: Build