Install or upgrade dependencies using Homebrew, a package manager for MacOS.
Configuring the Step
Homebrew defines the available packages as formulae. Our Step needs the name of the Homebrew formulae you want to use, either specified as a step input, or from a Brewfile in the project's source.
To specify formulae in the step configuration
- In the Formula name input, put the name of the formula you want to download.
- In the Upgrade formula? input, set the default behavior for previously installed packages. If the input is set to
yes, the Step will callbrew reinstallto upgrade them to the latest version. - In the Brew install/reinstall options input, you can set additional flags for the
brew installorbrew reinstallcommands.
For the possible options, see Homebrew's documentation.
Alternatively you can install formulae using a Brewfile
- Add a
Brewfileto the root of the project's source. For the format of the Brewfile, see the Homebrew Bundle documentation - Set the Use a Brewfile to install packages? input to "yes".
- (optional) Set the Path to the Brewfile input if it is not in the root of the project's source

