0
0
Fork 0
mirror of https://github.com/tj-actions/install-postgresql.git synced 2025-06-11 13:12:49 +00:00

Updated to not skip cache

This commit is contained in:
Tonye Jack 2023-09-12 10:45:38 -06:00
parent 792069e9f3
commit fef22a2be7
2 changed files with 1 additions and 2 deletions

View file

@ -37,7 +37,7 @@ if [[ "$(uname -s)" == "Linux" ]]; then
# Install PostgreSQL
sudo apt-get install -y "postgresql-$INPUT_POSTGRESQL_VERSION"
elif [[ "$(uname -s)" == "NT"* ]] || [[ "$(uname -s)" == "MINGW"* ]] || [[ "$(uname -s)" == *"MSYS"* ]]; then
choco install "postgresql$INPUT_POSTGRESQL_VERSION" -y --no-progress
choco install "postgresql$INPUT_POSTGRESQL_VERSION" -y --no-progress --use-download-cache
elif [[ "$(uname -s)" == "Darwin" ]]; then
brew update
brew install "postgresql@$INPUT_POSTGRESQL_VERSION"