diff --git a/.github/workflows/health-check.yml b/.github/workflows/health-check.yml index 2e1ce70..75ee151 100644 --- a/.github/workflows/health-check.yml +++ b/.github/workflows/health-check.yml @@ -41,16 +41,16 @@ jobs: sudo xcode-select --reset - name: Clean up linuxOS - if: runner.os == 'ubuntu' + if: runner.os != 'macOS' run: sudo apt-get install build-essential - name: Install Homebrew - run: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" + run: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" env: NONINTERACTIVE: 1 - name: Set up Homebrew - if: runner.os == 'ubuntu' + if: runner.os != 'macOS' run: | (echo; echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"') >> /home/runner/.bashrc eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"