Skip to content

Commit

Permalink
workflows/dispatch-build-bottle: run brew update
Browse files Browse the repository at this point in the history
Let's run `brew update` before checking for existing bottles so that
we're not working from an outdated copy of Homebrew/core.[^1]

[^1]: For example: https://github.com/Homebrew/homebrew-core/actions/runs/10798138525
  • Loading branch information
carlocab committed Sep 10, 2024
1 parent 7d33f4a commit 2609097
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/dispatch-build-bottle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ jobs:
bottles-directory: ${{ env.BOTTLES_DIR }}
cleanup: ${{ matrix.cleanup }}

- run: brew update

- name: Check for existing bottle
shell: brew ruby {0}
env:
Expand Down

0 comments on commit 2609097

Please sign in to comment.