Skip to content

Commit 5fc3cd0

Browse files
authored
Start PostgreSQL in macOS CI from the new standard place
1 parent dca8d75 commit 5fc3cd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/CI.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ jobs:
102102
echo "LIBPQJL_DATABASE_USER=$USER" >> $GITHUB_ENV
103103
if: ${{ runner.os == 'macOS' }}
104104
- name: Start Homebrew PostgreSQL service
105-
run: pg_ctl -D /usr/local/var/postgres start
105+
run: pg_ctl -D /usr/local/var/postgresql@$(psql --version | cut -f3 -d' ' | cut -f1 -d.) start
106106
if: ${{ runner.os == 'macOS' }}
107107
# Windows
108108
- name: Add PostgreSQL to Path

0 commit comments

Comments
 (0)