diff --git a/entrypoint.sh b/entrypoint.sh index 9290fe7..4812762 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -52,13 +52,10 @@ 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 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 else - "/usr/lib/postgresql/$INPUT_POSTGRESQL_VERSION/bin/pg_dump" --version echo "/usr/lib/postgresql/$INPUT_POSTGRESQL_VERSION/bin" >> $GITHUB_PATH fi