From 464cbbb8aed421ce900acf705bc73ac894036b43 Mon Sep 17 00:00:00 2001 From: def Date: Sun, 25 Dec 2022 00:44:21 +0100 Subject: [PATCH] Try to fix macOS CI failure again ==> Pouring python@3.11--3.11.1.big_sur.bottle.tar.gz Error: The `brew link` step did not complete successfully The formula built, but is not symlinked into /usr/local Could not symlink bin/2to3-3.11 Target /usr/local/bin/2to3-3.11 already exists. You may want to remove it: rm '/usr/local/bin/2to3-3.11' To force the link and overwrite all conflicting files: brew link --overwrite python@3.11 To list all files that would be deleted: brew link --overwrite --dry-run python@3.11 --- .github/workflows/build.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 2dc169300..27184b17f 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -88,8 +88,9 @@ jobs: if: contains(matrix.os, 'macOS') run: | brew update || true + brew install pkg-config sdl2 ffmpeg ninja molten-vk vulkan-headers glslang spirv-tools || true # --overwrite for: Target /usr/local/bin/2to3 already exists. - brew install --overwrite pkg-config sdl2 ffmpeg python3 ninja molten-vk vulkan-headers glslang spirv-tools + brew link --overwrite python@3.10 brew upgrade freetype pip3 install dmgbuild echo /Library/Frameworks/Python.framework/Versions/3.11/bin >> $GITHUB_PATH