From 4ade82e15a3ddfbe2249e4348643a03065ea61ca Mon Sep 17 00:00:00 2001 From: Thomas Neidhart Date: Thu, 23 Nov 2023 18:54:58 +0100 Subject: [PATCH 1/2] Add workaround for brew update failure --- .github/workflows/build.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 887f28531..778fb6170 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -123,6 +123,22 @@ jobs: steps: - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 + # https://github.com/actions/runner-images/issues/6817 + - name: (Mac) Workaround for homebrew + shell: bash + if: runner.os == 'macOS' + run: | + rm /usr/local/bin/2to3 || true + rm /usr/local/bin/2to3-3.11 || true + rm /usr/local/bin/idle3 || true + rm /usr/local/bin/idle3.11 || true + rm /usr/local/bin/pydoc3 || true + rm /usr/local/bin/pydoc3.11 || true + rm /usr/local/bin/python3 || true + rm /usr/local/bin/python3.11 || true + rm /usr/local/bin/python3-config || true + rm /usr/local/bin/python3.11-config || true + - name: Install Dependencies run: | brew install automake bash binutils freetype gnu-sed nasm From 94cf710358070d3ecd534d3700aa568fcb2c10b8 Mon Sep 17 00:00:00 2001 From: Thomas Neidhart Date: Thu, 23 Nov 2023 20:42:51 +0100 Subject: [PATCH 2/2] Update .github/workflows/build.yml Co-authored-by: Martijn Verburg --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 778fb6170..35c0dc9b9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -123,7 +123,7 @@ jobs: steps: - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 - # https://github.com/actions/runner-images/issues/6817 + # https://github.com/actions/runner-images/issues/6817 - name: (Mac) Workaround for homebrew shell: bash if: runner.os == 'macOS'