Skip to content

Commit 88de67f

Browse files
committed
Fix macOS 13 support
Due to some dark magic used to prepare the macOS 13 runner, the brew install command fails to link unrelated kegs, such as `[email protected]`. Fortunately, since `[email protected]` is a dependency of a dependency, and that dependency is already installed, we can workaround the issue by forcing Homebrew to do not try upgrading dependencies unless absolutely neccessary. Fixes: #27
1 parent 74e3964 commit 88de67f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

action.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,10 @@ runs:
5050
13.*)
5151
# Unfortunately, the macOS 13 runner image doesn't come w/
5252
# pre-installed PostgreSQL server.
53-
brew install postgresql@14
53+
export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1
54+
export HOMEBREW_NO_INSTALL_CLEANUP=1
55+
export HOMEBREW_NO_INSTALL_UPGRADE=1
56+
brew install --skip-post-install postgresql@14
5457
;;
5558
esac
5659
fi

0 commit comments

Comments
 (0)