From f3f8d1e5fa1cdefdde12db3327e76c760ec1e9fa Mon Sep 17 00:00:00 2001 From: halprin Date: Sun, 15 Dec 2024 17:23:07 -0700 Subject: [PATCH] Set-up brew path correctly before bundle install --- .github/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5278e508..1f4ddcb5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -75,7 +75,9 @@ jobs: - name: Install macOS Intel dependencies if: ${{ matrix.os.preset == 'mac' && matrix.os.name == 'macOS-Intel' }} - run: arch -x86_64 /usr/local/homebrew/bin/brew bundle install + run: | + $MACOS_ARCH_COMMAND eval "$(/usr/local/bin/brew shellenv)" + $MACOS_ARCH_COMMAND /usr/local/bin/brew bundle install - name: Install Linux dependencies if: ${{ matrix.os.runner == 'ubuntu-latest' }}