Skip to content

Commit 29c17e8

Browse files
committed
Use --quiet when invoking brew
When `brew` is used by this action, it generates a bunch of warnings which are picked up by the github actions capture system and shown for end users. They are noisy and most of them are expected. It's better to suppress them and do not alert users.
1 parent 7a757a6 commit 29c17e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,12 @@ runs:
8585
export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1
8686
export HOMEBREW_NO_INSTALL_CLEANUP=1
8787
export HOMEBREW_NO_INSTALL_UPGRADE=1
88-
brew install --skip-post-install postgresql@${{ inputs.postgres-version }}
88+
brew install --quiet --skip-post-install postgresql@${{ inputs.postgres-version }}
8989
9090
# Link PostgreSQL binaries from /usr/local/bin in order to make them
9191
# available globally. The overwrite option is required since some
9292
# GitHub runners come with preinstalled PostgreSQL binaries.
93-
brew link --overwrite postgresql@${{ inputs.postgres-version }}
93+
brew link --quiet --overwrite postgresql@${{ inputs.postgres-version }}
9494
fi
9595
shell: bash
9696

0 commit comments

Comments
 (0)