Skip to content

Commit

Permalink
Test CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ychin committed Sep 10, 2024
1 parent 1b5597c commit 194d8d9
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/actions/universal-package/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,16 @@ inputs:
runs:
using: 'composite'
steps:
- name: Upgrade Homebrew
shell: bash
run: |
# Need to make sure we get the latest before patching. Otherwise Homebrew may later try to get the latest
# version and stomp what we have here.
brew update
# Also upgrade the packages. We don't want these to be done when we are building the package
brew upgrade
- name: Set up formula
id: setup-formula
shell: bash
Expand All @@ -27,10 +37,6 @@ runs:
set -o pipefail
formula=${{ inputs.formula }}
# Need to make sure we get the latest before patching. Otherwise Homebrew may later try to get the latest
# version and stomp what we have here.
brew update
# Patch the official Homebrew formula to explicitly build for min deployment target and a universal binary. We
# also need to explicitly use system Clang because Homebrew's bundled clang script tries to inject -march
# compiler flags that will cause universal builds to fail as Clang does not like that.
Expand Down

0 comments on commit 194d8d9

Please sign in to comment.