diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index e6a0a1e..94b9313 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -14,11 +14,22 @@ jobs: steps: - uses: actions/checkout@v4 - - run: brew update + - name: Install dependencies via Homebrew + run: | + brew update - - run: | # fix `brew link python@3.12` issue - rm -rf /usr/local/bin/2to3-3.12 + + rm -f /usr/local/bin/2to3 + rm -f /usr/local/bin/idle3 + rm -f /usr/local/bin/pydoc3 + rm -f /usr/local/bin/python3 + rm -f /usr/local/bin/python3-config + rm -f /usr/local/bin/2to3-3.12 + rm -f /usr/local/bin/idle3.12 + rm -f /usr/local/bin/pydoc3.12 + rm -f /usr/local/bin/python3.12 + rm -f /usr/local/bin/python3.12-config brew install webp gdk-pixbuf meson ninja pkg-config