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:
106106 - name : Install PostgreSQL
107107 run : brew install postgresql@${{ matrix.postgresql-version }}
108108 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' }}
109112 - name : Set PGUSER on macOS
110113 run : |
111114 echo "PGUSER=$USER" >> $GITHUB_ENV
112115 echo "LIBPQJL_DATABASE_USER=$USER" >> $GITHUB_ENV
113116 if : ${{ runner.os == 'macOS' }}
114117 - 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
116119 if : ${{ runner.os == 'macOS' }}
117120 # Windows
118121 - name : Add PostgreSQL to Path
You can’t perform that action at this time.
0 commit comments