From 5be8ed00194592bb36389bca6109e18b073a0af1 Mon Sep 17 00:00:00 2001 From: Drew Weymouth Date: Tue, 14 Nov 2023 19:31:18 -0800 Subject: [PATCH] Update build-macos.yml --- .github/workflows/build-macos.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml index 81de122..e6e162a 100644 --- a/.github/workflows/build-macos.yml +++ b/.github/workflows/build-macos.yml @@ -5,6 +5,7 @@ name: Build Mac OS on: push: + branches: [ "main" ] pull_request: branches: [ "main" ] @@ -25,11 +26,8 @@ jobs: with: go-version: '1.20' - - name: Setup Homebrew - uses: Homebrew/actions/setup-homebrew@master - - name: Install Dependencies - run: brew install mpv && brew install dylibbundler + run: brew install --force mpv && brew install dylibbundler - name: Setup path run: export C_INCLUDE_PATH=/opt/homebrew/include:$C_INCLUDE_PATH && export LIBRARY_PATH=/opt/homebrew/lib:$LIBRARY_PATH