summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordef <dennis@felsin9.de>2022-12-25 00:44:21 +0100
committerRobert Müller <robytemueller@gmail.com>2023-06-14 17:39:54 +0200
commite0087b3dfda4893d150f99d391cc4be772771838 (patch)
tree097793a628a6d3a8111bd304db604cffdc105ece
parent7daa6c774486c72d61d5b3f17c8a753bec82e025 (diff)
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
-rw-r--r--.github/workflows/build.yaml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index 68bc1d4c5..329c39dc0 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -51,8 +51,9 @@ jobs:
if: contains(matrix.os, 'macOS')
run: |
brew update || true
+ brew install pkg-config sdl2 python3 ninja || true
# --overwrite for: Target /usr/local/bin/2to3 already exists.
- brew install --overwrite pkg-config sdl2 python3 ninja
+ brew link --overwrite python@3.10
brew upgrade freetype
sudo rm -rf /Library/Developer/CommandLineTools