Fix homebrew ci #115
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Homebrew Formulae CI | |
on: [pull_request] | |
jobs: | |
build: | |
name: Run brew test-bot | |
# This job runs on Linux | |
runs-on: macos-latest | |
steps: | |
- name: Checkout pulsar repo | |
uses: actions/checkout@v2 | |
- name: Run brew test-bot | |
run: | | |
set -e | |
ls /Applications | |
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer | |
brew update | |
HOMEBREW_TAP_DIR="/usr/local/Homebrew/Library/Taps/streamnative/homebrew-streamnative" | |
sudo mkdir -p "${HOMEBREW_TAP_DIR}" | |
sudo rm -rf "${HOMEBREW_TAP_DIR}" | |
sudo ln -s "${PWD}" "${HOMEBREW_TAP_DIR}" | |
brew test-bot |