mirror of
https://github.com/tj-actions/install-postgresql.git
synced 2024-12-20 01:18:18 +00:00
Fixed typo
This commit is contained in:
parent
4601cdae13
commit
5b0f08362a
2 changed files with 1 additions and 2 deletions
|
@ -12,7 +12,6 @@ runs:
|
|||
- name: Get cache directory
|
||||
id: cache-dir
|
||||
run: |
|
||||
set -x
|
||||
if [[ "${{ runner.os }}" == "Linux" ]]; then
|
||||
cache_dir="/var/cache/apt/archives/"
|
||||
elif [[ "${{ runner.os }}" == "macOS" ]]; then
|
||||
|
|
|
@ -35,7 +35,7 @@ if [[ "$(uname -s)" == "Linux" ]]; then
|
|||
sudo apt-get update
|
||||
|
||||
# Install PostgreSQL
|
||||
sudo apt-get apt-get install -y "postgresql-$INPUT_POSTGRESQL_VERSION"
|
||||
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
|
||||
elif [[ "$(uname -s)" == "Darwin" ]]; then
|
||||
|
|
Loading…
Add table
Reference in a new issue