Skip to content

Commit 367ffda

Browse files
committed
Use absolute path to pg_ctl
1 parent 655510b commit 367ffda

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
@@ -112,7 +112,7 @@ jobs:
112112
echo "LIBPQJL_DATABASE_USER=$USER" >> $GITHUB_ENV
113113
if: ${{ runner.os == 'macOS' }}
114114
- name: Start Homebrew PostgreSQL service
115-
run: pg_ctl -D ${{ matrix.macos-postgresql-path }}@${{ matrix.postgresql-version }} start
115+
run: $(brew --prefix postgresql@${{matrix.postgresql-version }})/bin/pg_ctl -D ${{ matrix.macos-postgresql-path }}@${{ matrix.postgresql-version }} start
116116
if: ${{ runner.os == 'macOS' }}
117117
# Windows
118118
- name: Add PostgreSQL to Path

0 commit comments

Comments
 (0)