Merge pull request #9600 from emqx/1222-fix-brew-install-in-ci

ci: make homebrew more conservative
This commit is contained in:
Ivan Dyachkov 2022-12-22 15:34:06 +01:00 committed by GitHub
commit 0baeb6866b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -28,6 +28,10 @@ runs:
steps:
- id: prepare
shell: bash
env:
HOMEBREW_NO_AUTO_UPDATE: 1
HOMEBREW_NO_INSTALL_UPGRADE: 1
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: 1
run: |
brew update
brew install curl zip unzip coreutils openssl@1.1
@ -61,6 +65,9 @@ runs:
make install
- name: build ${{ inputs.profile }}
env:
HOMEBREW_NO_AUTO_UPDATE: 1
HOMEBREW_NO_INSTALL_UPGRADE: 1
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: 1
AUTO_INSTALL_BUILD_DEPS: 1
APPLE_SIGN_BINARIES: 1
APPLE_ID: developers@emqx.io