File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ jobs:
107107 uses : ruby/setup-ruby-pkgs@v1
108108 with :
109109 ruby-version : ${{ matrix.ruby }}
110- apt-get : " postgresql" # Ubuntu
110+ apt-get : " postgresql '^postgresql-server-dev-[0-9]+$' " # Ubuntu
111111 brew : " postgresql" # macOS
112112 mingw : " postgresql" # Windows mingw / mswin /ucrt
113113
Original file line number Diff line number Diff line change @@ -127,9 +127,14 @@ jobs:
127127 echo "deb http://apt.postgresql.org/pub/repos/apt/ $(lsb_release -cs)-pgdg main $PGVER" | sudo tee -a /etc/apt/sources.list.d/pgdg.list
128128 wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
129129 sudo apt-get -y update
130- sudo apt-get -y --allow-downgrades install postgresql-$PGVER libpq5=$PGVER* libpq-dev=$PGVER*
130+ sudo apt-get -y --allow-downgrades install postgresql-$PGVER libpq5=$PGVER* libpq-dev=$PGVER* postgresql-server-dev-$PGVER libkrb5-dev
131131 echo /usr/lib/postgresql/$PGVER/bin >> $GITHUB_PATH
132132
133+ - name : Download OAuth support Ubuntu
134+ if : matrix.os == 'ubuntu' && matrix.PGVER >= 18
135+ run : |
136+ sudo apt-get -y --allow-downgrades install libpq-oauth=$PGVER*
137+
133138 - name : Download PostgreSQL Macos
134139 if : matrix.os == 'macos'
135140 run : |
You can’t perform that action at this time.
0 commit comments