diff --git a/.github/workflows/build.bazel.sh b/.github/workflows/build.bazel.sh index 789adea1c..78df5a807 100755 --- a/.github/workflows/build.bazel.sh +++ b/.github/workflows/build.bazel.sh @@ -37,7 +37,11 @@ bazel version $PYTHON -m pip --version +if [[ $(uname) == "Darwin" && $(uname -m) == "arm64" ]]; then +$PYTHON -m pip install --upgrade --break-system-packages pip +else $PYTHON -m pip install --upgrade pip +fi $PYTHON -m pip install --upgrade setuptools $PYTHON -m pip --version