mirror of
https://github.com/tj-actions/install-postgresql.git
synced 2024-12-20 01:18:18 +00:00
Update the cache-location
This commit is contained in:
parent
e93d0bc2a5
commit
72dd9bcd95
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ if [[ "$(uname -s)" == "Linux" ]]; then
|
|||
# Install PostgreSQL
|
||||
sudo apt-get apt-get -o Dir::Cache::Archives=/tmp 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 --cache-location="C:\\ProgramData\\chocolatey\\cache"
|
||||
elif [[ "$(uname -s)" == "Darwin" ]]; then
|
||||
brew update
|
||||
brew install "postgresql@$INPUT_POSTGRESQL_VERSION"
|
||||
|
|
Loading…
Add table
Reference in a new issue