From 27fa79a7e40d031c98b2078fee43c0f2826b2036 Mon Sep 17 00:00:00 2001 From: Soonho Kong Date: Wed, 23 Dec 2020 07:15:45 -0500 Subject: [PATCH] github(main.yml): Remove /usr/local/bin/2to3 See https://github.com/actions/virtual-environments/issues/2322 --- .github/workflows/main.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 75c056db..90d7e0a6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,7 +21,9 @@ jobs: - name: remove-bazelisk run: if [[ -e /usr/local/bin/bazelisk ]]; then brew rm bazelisk; fi - name: setup - run: ./setup/mac/install_prereqs.sh + run: | + rm -f '/usr/local/bin/2to3' + ./setup/mac/install_prereqs.sh - name: build and test run: bazel test //... -c dbg macos_big_sur_build_and_test: @@ -35,7 +37,9 @@ jobs: - name: remove-bazelisk run: if [[ -e /usr/local/bin/bazelisk ]]; then brew rm bazelisk; fi - name: setup - run: ./setup/mac/install_prereqs.sh + run: | + rm -f '/usr/local/bin/2to3' + ./setup/mac/install_prereqs.sh - name: build and test run: bazel test //... -c dbg ubuntu_focal_build_and_test: