mirror of
https://github.com/tj-actions/install-postgresql.git
synced 2024-12-20 01:18:18 +00:00
Update entrypoint.sh
This commit is contained in:
parent
80fdc14dde
commit
96cb53f7ce
1 changed files with 2 additions and 2 deletions
|
@ -52,8 +52,8 @@ echo "Verifying installation..."
|
|||
|
||||
# Verify installation by running pg_dump directly
|
||||
if [[ "$(uname -s)" == "NT"* ]] || [[ "$(uname -s)" == "MINGW"* ]] || [[ "$(uname -s)" == *"MSYS"* ]]; then
|
||||
"C:/Program Files/PostgreSQL/$INPUT_POSTGRESQL_VERSION/bin/pg_dump" --version
|
||||
echo "C:/Program Files/PostgreSQL/$INPUT_POSTGRESQL_VERSION/bin" >> $GITHUB_PATH
|
||||
"C:\\Program Files\\PostgreSQL\\$INPUT_POSTGRESQL_VERSION\\bin\\pg_dump" --version
|
||||
echo "C:\\Program Files\\PostgreSQL\\$INPUT_POSTGRESQL_VERSION\\bin" >> $GITHUB_PATH
|
||||
elif [[ "$(uname -s)" == "Darwin" ]]; then
|
||||
"/usr/local/opt/postgresql@${INPUT_POSTGRESQL_VERSION}/bin/pg_dump" --version
|
||||
echo "/usr/local/opt/postgresql@${INPUT_POSTGRESQL_VERSION}/bin" >> $GITHUB_PATH
|
||||
|
|
Loading…
Add table
Reference in a new issue