mirror of
https://github.com/tj-actions/install-postgresql.git
synced 2025-06-11 13:12:49 +00:00
Updated cache location
This commit is contained in:
parent
72dd9bcd95
commit
4601cdae13
2 changed files with 4 additions and 4 deletions
|
@ -35,9 +35,9 @@ if [[ "$(uname -s)" == "Linux" ]]; then
|
|||
sudo apt-get update
|
||||
|
||||
# Install PostgreSQL
|
||||
sudo apt-get apt-get -o Dir::Cache::Archives=/tmp install -y "postgresql-$INPUT_POSTGRESQL_VERSION"
|
||||
sudo apt-get 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 --cache-location="C:\\ProgramData\\chocolatey\\cache"
|
||||
choco install "postgresql$INPUT_POSTGRESQL_VERSION" -y --no-progress
|
||||
elif [[ "$(uname -s)" == "Darwin" ]]; then
|
||||
brew update
|
||||
brew install "postgresql@$INPUT_POSTGRESQL_VERSION"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue