Skip to content

Commit

Permalink
Install brew bundler gems before installing our formula (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilia-db authored Dec 4, 2023
1 parent d99ef35 commit 22fe125
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,23 @@ jobs:

# This action automatically installs the locally checked out tap.
- name: Set up Homebrew
id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@master
with:
token: ${{ secrets.GITHUB_TOKEN }}

- name: Cache Homebrew Bundler RubyGems
id: gems-cache
uses: actions/cache@v3
with:
path: ${{ steps.set-up-homebrew.outputs.gems-path }}
key: ${{ runner.os }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }}
restore-keys: ${{ runner.os }}-rubygems-

- name: Install Homebrew Bundler RubyGems
if: steps.gems-cache.outputs.cache-hit != 'true'
run: brew install-bundler-gems

- name: Install CLI
run: |
brew install databricks
Expand Down

0 comments on commit 22fe125

Please sign in to comment.