File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -106,13 +106,16 @@ jobs:
106
106
- name : Install PostgreSQL
107
107
run : brew install postgresql@${{ matrix.postgresql-version }}
108
108
if : ${{ runner.os == 'macOS' }}
109
+ - name : Add PostgreSQL to Path
110
+ run : echo "$(brew --prefix postgresql@${{matrix.postgresql-version }})/bin" >> $GITHUB_PATH
111
+ if : ${{ runner.os == 'macOS' }}
109
112
- name : Set PGUSER on macOS
110
113
run : |
111
114
echo "PGUSER=$USER" >> $GITHUB_ENV
112
115
echo "LIBPQJL_DATABASE_USER=$USER" >> $GITHUB_ENV
113
116
if : ${{ runner.os == 'macOS' }}
114
117
- name : Start Homebrew PostgreSQL service
115
- run : $(brew --prefix postgresql@${{matrix.postgresql-version }})/bin/ pg_ctl -D ${{ matrix.macos-postgresql-path }}@${{ matrix.postgresql-version }} start
118
+ run : pg_ctl -D ${{ matrix.macos-postgresql-path }}@${{ matrix.postgresql-version }} start
116
119
if : ${{ runner.os == 'macOS' }}
117
120
# Windows
118
121
- name : Add PostgreSQL to Path
You can’t perform that action at this time.
0 commit comments