mirror of
https://github.com/espressif/openthread.git
synced 2026-08-04 18:07:47 +00:00
[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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user