From f658553bbe6068f076e327281ce2ff254af6965d Mon Sep 17 00:00:00 2001 From: Yasmin Teles Date: Fri, 8 Mar 2024 22:25:45 -0300 Subject: [PATCH] fixup! fixup! fixup! fixup! chore: add test job at CI --- .github/workflows/health-check.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/health-check.yml b/.github/workflows/health-check.yml index 3ff1599..cc1cbbd 100644 --- a/.github/workflows/health-check.yml +++ b/.github/workflows/health-check.yml @@ -42,11 +42,14 @@ jobs: env: NONINTERACTIVE: 1 - - name: Set up Homebrew - if: runner.os != 'macOS' + - name: Set up Homebrew PATH run: | - (echo; echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"') >> /home/runner/.bashrc - eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" + if [[ "${{ runner.os }}" = "macOS" ]] + then + echo "/usr/local/bin:/usr/bin:/bin" >> "${GITHUB_PATH}" + else + echo "/home/linuxbrew/.linuxbrew/bin:/usr/bin:/bin" >> "${GITHUB_PATH}" + fi - name: Run install script run: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/YasminTeles/dotfiles/HEAD/install.sh)"