aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authordeadprogram <[email protected]>2023-12-17 17:45:30 +0100
committerRon Evans <[email protected]>2023-12-17 21:26:23 +0100
commitde3f0af8297ae2b2a81c2bfd119d93e795a59a9e (patch)
tree1748c9d605f906e429ea88e27899aad1c8ec5c33 /.github
parenta511f18c641b90362be3d782e224765a368696bc (diff)
downloadtinygo-de3f0af8297ae2b2a81c2bfd119d93e795a59a9e.tar.gz
tinygo-de3f0af8297ae2b2a81c2bfd119d93e795a59a9e.zip
build: fix for macos homebrew as discussed in https://github.com/Homebrew/brew/issues/15621
Signed-off-by: deadprogram <[email protected]>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build-macos.yml12
1 files changed, 7 insertions, 5 deletions
diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml
index 9b8b00aad..fd5b5c9ac 100644
--- a/.github/workflows/build-macos.yml
+++ b/.github/workflows/build-macos.yml
@@ -120,17 +120,19 @@ jobs:
matrix:
version: [16, 17]
steps:
- - name: Update Homebrew
- run: brew update
+ - 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 python
- brew link --overwrite python
+ brew unlink [email protected]
- name: Install LLVM
run: |
- HOMEBREW_NO_AUTO_UPDATE=1 brew install llvm@${{ matrix.version }}
+ brew install llvm@${{ matrix.version }}
- name: Checkout
uses: actions/checkout@v4
- name: Install Go