Skip to content

Commit e0a000c

Browse files
committed
ci(macos): Avoid Homebrew return non-zero value issue
This commit is a temporary fix for an issue with the recent `brew update`. It can be reverted at a later date when the cause of the issue is resolved. Refer: https://github.com/orgs/Homebrew/discussions/4612
1 parent e4e3159 commit e0a000c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/cppcmake.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
uses: actions/checkout@v3
7979
- name: Install dependencies
8080
run : |
81-
brew update
81+
unset HOMEBREW_NO_INSTALL_FROM_API; brew untap homebrew/core; brew untap homebrew/cask; brew update
8282
brew tap sqlitebrowser/sqlite3
8383
brew install cmake qt@5 sqlitefts5
8484
if [ "${{ matrix.sqlcipher }}" = "1" ]; then
@@ -129,7 +129,7 @@ jobs:
129129
uses: actions/checkout@v3
130130
- name: Install dependencies
131131
run : |
132-
brew update
132+
unset HOMEBREW_NO_INSTALL_FROM_API; brew untap homebrew/core; brew untap homebrew/cask; brew update
133133
brew tap sqlitebrowser/sqlite3
134134
brew install qt@5 sqlitefts5 sqlcipherdb4s
135135
brew reinstall node

0 commit comments

Comments
 (0)