Skip to content

Commit

Permalink
workflow(macos): update workflow (merge brew step and fix brew link
Browse files Browse the repository at this point in the history
… errors)

Signed-off-by: Rui Chen <rui@chenrui.dev>
  • Loading branch information
chenrui333 committed Feb 15, 2024
1 parent f59a7c1 commit 7450c50
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7450c50

Please sign in to comment.