0
0
Fork 0
mirror of https://github.com/tj-actions/install-postgresql.git synced 2024-12-20 01:18:18 +00:00

chore: Update entrypoint.sh removing —force option ()

This commit is contained in:
Tonye Jack 2023-12-10 13:10:32 -07:00 committed by GitHub
parent b7f801ce3d
commit b3af46a4f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,7 +39,7 @@ if [[ "$(uname -s)" == "Linux" ]]; then
elif [[ "$(uname -s)" == "NT"* ]] || [[ "$(uname -s)" == "MINGW"* ]] || [[ "$(uname -s)" == *"MSYS"* ]]; then
choco install "postgresql$INPUT_POSTGRESQL_VERSION" -y --no-progress --use-download-cache
elif [[ "$(uname -s)" == "Darwin" ]]; then
HOMEBREW_NO_AUTO_UPDATE=1 brew install --force "postgresql@$INPUT_POSTGRESQL_VERSION"
HOMEBREW_NO_AUTO_UPDATE=1 brew install "postgresql@$INPUT_POSTGRESQL_VERSION"
else
echo "Unsupported OS"
exit 1