Homebrew / actions

🚀 Homebrew's GitHub Actions
BSD 2-Clause "Simplified" License
118 stars 39 forks source link

setup-homebrew action is failing #537

Closed JulianSchmidgall closed 4 months ago

JulianSchmidgall commented 4 months ago

I try to install Homebrew with the action setup-homebrew:

- name: Set up Homebrew
  id: set-up-homebrew
  uses: Homebrew/actions/setup-homebrew@master

Unfortunately the action is failing with:

Could not find 'brew' command in PATH or standard locations. Error: The process '/bin/bash' failed with exit code 1

The workflow runs on a self-hosted Linux runner with the version 2.311.0

I would be happy about any hints.

SMillerDev commented 4 months ago

Homebrew/actions/setup-homebrew@master sets up an existing Homebrew install to be used in CI. So you need to install Homebrew before doing this.