File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -49,14 +49,15 @@ jobs:
49
49
brew install pgvector
50
50
brew services start postgresql@14 && sleep 1
51
51
psql -d postgres -c 'CREATE EXTENSION vector'
52
+ psql -d postgres -c "ALTER USER $(whoami) WITH PASSWORD '${{ secrets.POSTGRES_PASSWORD }}'"
52
53
53
54
- name : (MacOSLarge) Install postgreSQL using action-setup-postgres
54
55
if : matrix.os == 'macos-latest-xlarge'
55
56
uses : ikalnytskyi/action-setup-postgres@v6
56
57
with :
57
- username : admin
58
- password : postgres
59
- database : postgres
58
+ username : ${{ env.POSTGRES_USERNAME }}
59
+ password : ${{ env.POSTGRES_PASSWORD }}
60
+ database : ${{ env.POSTGRES_DATABASE }}
60
61
61
62
- name : (Windows) Install pgvector using install-pgvector.bat
62
63
if : matrix.os == 'windows-latest'
You can’t perform that action at this time.
0 commit comments