0
0
Fork 0
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:
Tonye Jack 2023-09-12 10:28:12 -06:00
parent 4601cdae13
commit 5b0f08362a
2 changed files with 1 additions and 2 deletions

View file

@ -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

View file

@ -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