aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authordeadprogram <[email protected]>2023-12-18 12:11:01 +0100
committerRon Evans <[email protected]>2023-12-18 20:23:19 +0100
commitceeb233ff652eda1ede37c4e763154fbb3981b6b (patch)
tree553be3963b21084c23d5de8d501027226f90f425 /.github
parentde3f0af8297ae2b2a81c2bfd119d93e795a59a9e (diff)
downloadtinygo-ceeb233ff652eda1ede37c4e763154fbb3981b6b.tar.gz
tinygo-ceeb233ff652eda1ede37c4e763154fbb3981b6b.zip
build: another try to handle python unlink/link due to homebrew
Signed-off-by: deadprogram <[email protected]>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build-macos.yml5
1 files changed, 1 insertions, 4 deletions
diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml
index fd5b5c9ac..53bde4521 100644
--- a/.github/workflows/build-macos.yml
+++ b/.github/workflows/build-macos.yml
@@ -122,14 +122,11 @@ jobs:
steps:
- name: Set up Homebrew
uses: Homebrew/actions/setup-homebrew@master
- with:
- cask: false # remove this if you need `brew install --cask`
- test-bot: false # remove this if you need `brew test-bot`
- name: Fix Python symlinks
run: |
# Github runners have broken symlinks, so relink
# see: https://github.com/actions/setup-python/issues/577
- brew unlink [email protected]
+ brew list -1 | grep python | while read formula; do brew unlink $formula; brew link --overwrite $formula; done
- name: Install LLVM
run: |
brew install llvm@${{ matrix.version }}