workaround: brew error in github action.
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Mon, 28 Aug 2023 01:39:39 +0000 (10:39 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Mon, 28 Aug 2023 07:21:30 +0000 (16:21 +0900)
Fix the error:
```
==> Pouring python@3.11--3.11.5.monterey.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
Target /usr/local/bin/2to3
already exists. You may want to remove it:
  rm '/usr/local/bin/2to3'
```

Reference: https://github.com/universal-ctags/ctags/pull/3759

This is a workaround. When homebrew resumes working in github-action,
we need to revert this.

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
.github/workflows/macos.yaml

index e5ddb3c..5cf5bb3 100644 (file)
@@ -15,7 +15,8 @@ jobs:
     - uses: actions/setup-python@v1
     - name: homebrew
       run: |
-          brew update
+          # temporarily disabled, because it always fails these days.
+          # brew update
           brew install cask
     - name: install minimal requirements
       run: brew install meson ninja pkg-config cmake libffi glib gstreamer numpy json-glib